From 979a54fb20c6461669d8e620cd9760544c84254b Mon Sep 17 00:00:00 2001 From: bellard Date: Sun, 20 Jun 2004 12:36:04 +0000 Subject: new reset API git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@936 c046a42c-6fe2-441c-8c8c-71466251a162 --- sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdl.c') 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) { -- cgit v1.2.3