Delink Core.obj

This commit is contained in:
KeybadeBlox 2025-12-29 00:44:27 -05:00
parent 8eda56dcdf
commit a25790e8a6
5 changed files with 148 additions and 68 deletions

View file

@ -20,6 +20,15 @@
"_main_handler_unwind1": "$L515",
"_main_unwindmap": "$T525"
}
},
{
"name": "JSRF/Core",
"target_path": "target/JSRF/Core.obj",
"base_path": "src/JSRF/Core.obj",
"metadata": {
"complete": false,
"source_path": "src/JSRF/Core.cpp"
}
}
]
}

View file

@ -2,4 +2,10 @@
Game and GameObj classes that form the foundation of the JSRF game code.
*/
#pragma bss_seg(".data")
#include "Core.hpp"
// Address: 0x0022FCE0
Game * g_game;

View file

@ -7,12 +7,6 @@ Main function.
#include "Core.hpp"
// Address: 0x0022FCE0
// Core.cpp really seems like a more natural place to put this, but it doesn't
// appear to be with Core.cpp's other data in .data
Game * g_game;
// Address: 0x0006F9E0
// Matching: yes
void main(void) {