Add g_game extern declaration to Core.hpp

Honestly not sure why it's not defined in there, but it's not up to me.
This commit is contained in:
KeybadeBlox 2025-12-13 08:54:22 -05:00
parent e3687ac823
commit a968f475e8
2 changed files with 4 additions and 2 deletions

View file

@ -87,7 +87,7 @@ public:
// Top-level globally-accessible "god object" that runs the main loop and
// provides global access to most other objects and many variables
class Game {
extern class Game {
char unknown0x4[4];
unsigned unknown0x8;
unsigned * unknown0xC;
@ -176,7 +176,7 @@ public:
virtual ~Game();
// TODO: methods
};
} * g_game;
#endif

View file

@ -2,6 +2,8 @@
// 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;