fix one potential crash bug

This commit is contained in:
Arisotura
2024-06-15 17:42:26 +02:00
parent 8fc403cdad
commit ccc5c955e9
3 changed files with 28 additions and 20 deletions

View File

@ -78,6 +78,7 @@ public:
~EmuInstance();
int getInstanceID() { return instanceID; }
int getConsoleType() { return consoleType; }
EmuThread* getEmuThread() { return emuThread; }
melonDS::NDS* getNDS() { return nds; }
@ -225,6 +226,7 @@ private:
Config::Table globalCfg;
Config::Table localCfg;
int consoleType;
melonDS::NDS* nds;
int cartType;