diff options
author | Paul Gilbert | 2019-07-03 22:22:13 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-07-06 15:27:09 -0700 |
commit | c5214f6d349df9bc4ec088bbbca3543e47b22744 (patch) | |
tree | 3efa78f8063858233d7a1fcc85ee35316f2b4a52 /engines/glk/alan3/utils.cpp | |
parent | b634a97f41877b233a654dc204a2c9760f9ad2f6 (diff) | |
download | scummvm-rg350-c5214f6d349df9bc4ec088bbbca3543e47b22744.tar.gz scummvm-rg350-c5214f6d349df9bc4ec088bbbca3543e47b22744.tar.bz2 scummvm-rg350-c5214f6d349df9bc4ec088bbbca3543e47b22744.zip |
GLK: ALAN3: Making GlkIO base class
Diffstat (limited to 'engines/glk/alan3/utils.cpp')
-rw-r--r-- | engines/glk/alan3/utils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/alan3/utils.cpp b/engines/glk/alan3/utils.cpp index 38176e1924..acbf8e490a 100644 --- a/engines/glk/alan3/utils.cpp +++ b/engines/glk/alan3/utils.cpp @@ -52,7 +52,7 @@ void terminate(CONTEXT, int code) { if (memory) deallocate(memory); - g_vm->glk_exit(); + g_io->glk_exit(); LONG_JUMP } @@ -75,7 +75,7 @@ void usage(const char *programName) { printf(" %s [<switches>] <adventure>\n\n", programName); printf("where the possible optional switches are:\n"); - g_vm->glk_set_style(style_Preformatted); + g_io->glk_set_style(style_Preformatted); printf(" -v verbose mode\n"); printf(" -l log transcript to a file\n"); printf(" -c log player commands to a file\n"); @@ -84,7 +84,7 @@ void usage(const char *programName) { printf(" -t[<n>] trace game execution, higher <n> gives more trace\n"); printf(" -i ignore version and checksum errors\n"); printf(" -r make regression test easier (don't timestamp, page break, randomize...)\n"); - g_vm->glk_set_style(style_Normal); + g_io->glk_set_style(style_Normal); } |