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.8 by cebix, 2009-01-11T11:32:38Z

# 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-2009 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;
# Line 598 | Line 598 | void C64Display::InitColors(uint8 *color
598   *  Show a requester (error message)
599   */
600  
601 < long int ShowRequester(char *a,char *b,char *)
601 > long int ShowRequester(const char *a, const char *b, const char *)
602   {
603          printf("%s: %s\n", a, b);
604          return 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines