diff options
author | Max Horn | 2002-12-27 00:38:32 +0000 |
---|---|---|
committer | Max Horn | 2002-12-27 00:38:32 +0000 |
commit | e744697dbde5661c34b75c33e761c07d18cac3a8 (patch) | |
tree | 581be5b9b6bff9dede8cd1be29bc3ca9eba1739e | |
parent | 1dab4170a95c0cdf072ff682366a57c61ec4941e (diff) | |
download | scummvm-rg350-e744697dbde5661c34b75c33e761c07d18cac3a8.tar.gz scummvm-rg350-e744697dbde5661c34b75c33e761c07d18cac3a8.tar.bz2 scummvm-rg350-e744697dbde5661c34b75c33e761c07d18cac3a8.zip |
quick fix for Endy's code - should be redone properly later
svn-id: r6186
-rw-r--r-- | scumm/scumm.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/scumm/scumm.h b/scumm/scumm.h index 7b98989772..22a9ae5971 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -280,10 +280,10 @@ public: int scummLoop(int delta); void initScummVars(); - const char *getResDataPath() const {return _gameDataPath;} + const char *getResDataPath() const { return _gameDataPath; } const char *getGameDataPath() const { if (_features & GF_AFTER_V8) { - char resourcePath[255]; + static char resourcePath[256]; sprintf(resourcePath, "%s/resource", _gameDataPath); return resourcePath; } @@ -294,13 +294,13 @@ public: void shutDown(int i); void setOptions(void); - // GUI NewGui *_newgui; Dialog *_pauseDialog; Dialog *_optionsDialog; Dialog *_saveLoadDialog; + // Debugger access this one, too... ConsoleDialog *_debuggerDialog; int runDialog(Dialog *dialog); @@ -322,6 +322,7 @@ public: /* Random number generation */ RandomSource _rnd; + /* Core variable definitions */ byte _gameId; |