--- Frodo4/Src/Display_SDL.h 2004/01/10 15:07:14 1.4 +++ Frodo4/Src/Display_SDL.h 2004/01/12 15:13:20 1.6 @@ -2,7 +2,7 @@ * Display_SDL.h - C64 graphics display, emulator window handling, * SDL specific stuff * - * Frodo (C) 1994-1997,2002-2003 Christian Bauer + * Frodo (C) 1994-1997,2002-2004 Christian Bauer * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -81,10 +81,6 @@ int init_graphics(void) return 0; } - // Open window - SDL_WM_SetCaption(VERSION_STRING, "Frodo"); - screen = SDL_SetVideoMode(DISPLAY_X, DISPLAY_Y + 17, 8, SDL_DOUBLEBUF); - return 1; } @@ -98,6 +94,10 @@ C64Display::C64Display(C64 *the_c64) : T quit_requested = false; speedometer_string[0] = 0; + // Open window + SDL_WM_SetCaption(VERSION_STRING, "Frodo"); + screen = SDL_SetVideoMode(DISPLAY_X, DISPLAY_Y + 17, 8, SDL_DOUBLEBUF | (ThePrefs.DisplayType == DISPTYPE_SCREEN ? SDL_FULLSCREEN : 0)); + // LEDs off for (int i=0; i<4; i++) led_state[i] = old_led_state[i] = LED_OFF;