mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 10:17:03 +03:00
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:
parent
e3687ac823
commit
a968f475e8
2 changed files with 4 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ public:
|
||||||
|
|
||||||
// Top-level globally-accessible "god object" that runs the main loop and
|
// Top-level globally-accessible "god object" that runs the main loop and
|
||||||
// provides global access to most other objects and many variables
|
// provides global access to most other objects and many variables
|
||||||
class Game {
|
extern class Game {
|
||||||
char unknown0x4[4];
|
char unknown0x4[4];
|
||||||
unsigned unknown0x8;
|
unsigned unknown0x8;
|
||||||
unsigned * unknown0xC;
|
unsigned * unknown0xC;
|
||||||
|
|
@ -176,7 +176,7 @@ public:
|
||||||
virtual ~Game();
|
virtual ~Game();
|
||||||
|
|
||||||
// TODO: methods
|
// TODO: methods
|
||||||
};
|
} * g_game;
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
|
|
||||||
// Address: 0x0022FCE0
|
// 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;
|
Game * g_game;
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue