Permalink
Browse files

GLK: ALAN2: Initialize game file name

  • Loading branch information...
bluegr committed Jan 6, 2019
1 parent aac5ed1 commit 1d8a069e24eeb0c770275411a4be2e3eeb6ab30c
Showing with 2 additions and 1 deletion.
  1. +2 −1 engines/glk/alan2/alan2.cpp
@@ -46,9 +46,10 @@ Alan2::Alan2(OSystem *syst, const GlkGameDescription &gameDesc) : GlkAPI(syst, g
}

void Alan2::runGame() {
Common::String gameFileName = _gameFile.getName();

// TODO: Initialize these properly
int tmp = 0;
Common::String gameFileName;
_decode = new Decode(nullptr, nullptr);
_execute = new Execute();
_saveLoad = new SaveLoad(gameFileName, nullptr, nullptr, nullptr, nullptr, &tmp);

0 comments on commit 1d8a069

Please sign in to comment.