Fix problem with not using f_setup.interpreter_number all the way.
authorDavid Griffith <dave@661.org>
Wed, 30 Jan 2019 12:48:04 +0000 (04:48 -0800)
committerDavid Griffith <dave@661.org>
Wed, 30 Jan 2019 12:48:04 +0000 (04:48 -0800)
src/dumb/dumb_init.c

index 13b1de952f19a3378d22618b32c6ad2e5810485d..1b98c56e2f324f0bfd639c808ca5e4546cf57b6d 100644 (file)
@@ -86,7 +86,6 @@ error:
 
 static int user_screen_width = 75;
 static int user_screen_height = 24;
-static int user_interpreter_number = -1;
 static int user_random_seed = -1;
 static int user_tandy_bit = 0;
 static char *graphics_filename = NULL;
@@ -188,8 +187,8 @@ void os_init_screen(void)
     h_screen_rows = user_screen_height;
     h_screen_cols = user_screen_width;
 
-    if (user_interpreter_number > 0)
-       h_interpreter_number = user_interpreter_number;
+    if (f_setup.interpreter_number > 0)
+       h_interpreter_number = f_setup.interpreter_number;
     else {
        /* Use ms-dos for v6 (because that's what most people have the
        * graphics files for), but don't use it for v5 (or Beyond Zork