Commit 979a54fb20c6461669d8e620cd9760544c84254b
1 parent
e4f9082b
new reset API
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@936 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
sdl.c
@@ -318,7 +318,7 @@ static void sdl_refresh(DisplayState *ds) | @@ -318,7 +318,7 @@ static void sdl_refresh(DisplayState *ds) | ||
318 | sdl_process_key(&ev->key); | 318 | sdl_process_key(&ev->key); |
319 | break; | 319 | break; |
320 | case SDL_QUIT: | 320 | case SDL_QUIT: |
321 | - reset_requested = 1; | 321 | + qemu_system_shutdown_request(); |
322 | break; | 322 | break; |
323 | case SDL_MOUSEMOTION: | 323 | case SDL_MOUSEMOTION: |
324 | if (gui_grab) { | 324 | if (gui_grab) { |