aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/glk.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-01-02 23:24:50 -0800
committerPaul Gilbert2019-01-02 23:24:50 -0800
commitdf74a209ca8496f08283285337181ea73a69b78f (patch)
tree86b006c37b9e52d9893449dded6f9a4a3d5f8f86 /engines/glk/glk.cpp
parent85816c8a54d77423c6400e41da93f62fe1f948ff (diff)
downloadscummvm-rg350-df74a209ca8496f08283285337181ea73a69b78f.tar.gz
scummvm-rg350-df74a209ca8496f08283285337181ea73a69b78f.tar.bz2
scummvm-rg350-df74a209ca8496f08283285337181ea73a69b78f.zip
GLK: FROTZ: Keep mono & prop font sizes to be the same for v6 games
Diffstat (limited to 'engines/glk/glk.cpp')
-rw-r--r--engines/glk/glk.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/glk/glk.cpp b/engines/glk/glk.cpp
index e7d10fa29d..f39ef6a98a 100644
--- a/engines/glk/glk.cpp
+++ b/engines/glk/glk.cpp
@@ -107,12 +107,11 @@ void GlkEngine::initGraphicsMode() {
}
Common::Error GlkEngine::run() {
+ // Open up the game file
Common::String filename = getFilename();
if (!Common::File::exists(filename))
return Common::kNoGameDataFoundError;
- initialize();
-
if (Blorb::isBlorb(filename)) {
// Blorb archive
_blorb = new Blorb(filename, getInterpreterType());
@@ -139,6 +138,10 @@ Common::Error GlkEngine::run() {
return Common::kNoGameDataFoundError;
}
+ // Perform initialization
+ initialize();
+
+ // Play the game
runGame();
return Common::kNoError;