ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/Display_SDL.h
(Generate patch)

Comparing Frodo4/Src/Display_SDL.h (file contents):
Revision 1.4 by cebix, 2004-01-10T15:07:14Z vs.
Revision 1.7 by cebix, 2005-06-27T19:55:48Z

# Line 2 | Line 2
2   *  Display_SDL.h - C64 graphics display, emulator window handling,
3   *                  SDL specific stuff
4   *
5 < *  Frodo (C) 1994-1997,2002-2003 Christian Bauer
5 > *  Frodo (C) 1994-1997,2002-2005 Christian Bauer
6   *
7   *  This program is free software; you can redistribute it and/or modify
8   *  it under the terms of the GNU General Public License as published by
# Line 81 | Line 81 | int init_graphics(void)
81                  return 0;
82          }
83  
84        // Open window
85        SDL_WM_SetCaption(VERSION_STRING, "Frodo");
86        screen = SDL_SetVideoMode(DISPLAY_X, DISPLAY_Y + 17, 8, SDL_DOUBLEBUF);
87
84          return 1;
85   }
86  
# Line 98 | Line 94 | C64Display::C64Display(C64 *the_c64) : T
94          quit_requested = false;
95          speedometer_string[0] = 0;
96  
97 +        // Open window
98 +        SDL_WM_SetCaption(VERSION_STRING, "Frodo");
99 +        screen = SDL_SetVideoMode(DISPLAY_X, DISPLAY_Y + 17, 8, SDL_DOUBLEBUF | (ThePrefs.DisplayType == DISPTYPE_SCREEN ? SDL_FULLSCREEN : 0));
100 +
101          // LEDs off
102          for (int i=0; i<4; i++)
103                  led_state[i] = old_led_state[i] = LED_OFF;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines