/[qemu]/qemu/sdl.c
ViewVC logotype

Diff of /qemu/sdl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by bellard, Sat Aug 9 18:26:36 2003 UTC revision 1.2 by bellard, Tue Sep 30 21:09:16 2003 UTC
# Line 42  Line 42 
42    
43  #include <SDL.h>  #include <SDL.h>
44    
45  #include "cpu-i386.h"  #include "cpu.h"
46  #include "exec.h"  #include "exec-all.h"
47    
48  #include "vl.h"  #include "vl.h"
49    
# Line 264  void sdl_display_init(DisplayState *ds) Line 264  void sdl_display_init(DisplayState *ds)
264          fprintf(stderr, "Could not initialize SDL - exiting\n");          fprintf(stderr, "Could not initialize SDL - exiting\n");
265          exit(1);          exit(1);
266      }      }
267        /* NOTE: we still want Ctrl-C to work, so we undo the SDL redirections */
268        signal(SIGINT, SIG_DFL);
269        signal(SIGQUIT, SIG_DFL);
270    
271      ds->dpy_update = sdl_update;      ds->dpy_update = sdl_update;
272      ds->dpy_resize = sdl_resize;      ds->dpy_resize = sdl_resize;
273      ds->dpy_refresh = sdl_refresh;      ds->dpy_refresh = sdl_refresh;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26