diff options
author | Filippos Karapetis | 2019-01-06 22:14:42 +0200 |
---|---|---|
committer | Filippos Karapetis | 2019-01-06 22:14:42 +0200 |
commit | 1d8a069e24eeb0c770275411a4be2e3eeb6ab30c (patch) | |
tree | 21b13de331a9d95ab43700c1f235134d5336b671 /engines/glk/alan2/alan2.cpp | |
parent | aac5ed1cae3d83fb84b8179956f75f96fcc43763 (diff) | |
download | scummvm-rg350-1d8a069e24eeb0c770275411a4be2e3eeb6ab30c.tar.gz scummvm-rg350-1d8a069e24eeb0c770275411a4be2e3eeb6ab30c.tar.bz2 scummvm-rg350-1d8a069e24eeb0c770275411a4be2e3eeb6ab30c.zip |
GLK: ALAN2: Initialize game file name
Diffstat (limited to 'engines/glk/alan2/alan2.cpp')
-rw-r--r-- | engines/glk/alan2/alan2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/glk/alan2/alan2.cpp b/engines/glk/alan2/alan2.cpp index 60889f70a3..da9dbf1115 100644 --- a/engines/glk/alan2/alan2.cpp +++ b/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); |