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 |
|
|
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; |