aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-20 12:36:04 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-06-20 12:36:04 +0000
commit979a54fb20c6461669d8e620cd9760544c84254b (patch)
tree8a9ace3d4befc4e03a705f921ecac80d9a7641f8
parente4f9082b9ae64a9ed413fb1a4498afa7f4cfcd63 (diff)
new reset API
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@936 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl.c b/sdl.c
index ceb00ddf67..981922102d 100644
--- a/sdl.c
+++ b/sdl.c
@@ -318,7 +318,7 @@ static void sdl_refresh(DisplayState *ds)
sdl_process_key(&ev->key);
break;
case SDL_QUIT:
- reset_requested = 1;
+ qemu_system_shutdown_request();
break;
case SDL_MOUSEMOTION:
if (gui_grab) {