diff options
Diffstat (limited to 'engines/glk/scott')
-rw-r--r-- | engines/glk/scott/scott.cpp | 4 | ||||
-rw-r--r-- | engines/glk/scott/scott.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/scott/scott.cpp b/engines/glk/scott/scott.cpp index 640679c5f3..b918f8cda2 100644 --- a/engines/glk/scott/scott.cpp +++ b/engines/glk/scott/scott.cpp @@ -35,7 +35,7 @@ Scott::Scott(OSystem *syst, const GlkGameDescription &gameDesc) : GlkAPI(syst, g Common::fill(&_roomSaved[0], &_roomSaved[16], 0); } -void Scott::runGame(Common::SeekableReadStream *gameFile) { +void Scott::runGame() { int vb, no; initialize(); @@ -70,7 +70,7 @@ void Scott::runGame(Common::SeekableReadStream *gameFile) { _saveSlot = ConfMan.hasKey("save_slot") ? ConfMan.getInt("save_slot") : -1; // Load the game - loadDatabase(gameFile, (_options & DEBUGGING) ? 1 : 0); + loadDatabase(&_gameFile, (_options & DEBUGGING) ? 1 : 0); // Main game loop while (!shouldQuit()) { diff --git a/engines/glk/scott/scott.h b/engines/glk/scott/scott.h index b490fd6412..4739e9470a 100644 --- a/engines/glk/scott/scott.h +++ b/engines/glk/scott/scott.h @@ -174,7 +174,7 @@ public: /** * Execute the game */ - virtual void runGame(Common::SeekableReadStream *gameFile) override; + virtual void runGame() override; /** * Load a savegame from the passed stream |