aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/level9/level9.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/level9/level9.cpp')
-rw-r--r--engines/glk/level9/level9.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/level9/level9.cpp b/engines/glk/level9/level9.cpp
index be4ac2216d..7fe85ee485 100644
--- a/engines/glk/level9/level9.cpp
+++ b/engines/glk/level9/level9.cpp
@@ -36,7 +36,6 @@ Level9::Level9(OSystem *syst, const GlkGameDescription &gameDesc) : GlkAPI(syst,
void Level9::runGame() {
initialize();
-
_gameFile.close();
gln_main(getFilename().c_str());
@@ -44,6 +43,7 @@ void Level9::runGame() {
}
bool Level9::initialize() {
+ gln_initialize();
return gln_startup_code(0, nullptr);
}