From c8e4a68ec6fc52d275864ac533712dd536b10325 Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Mon, 1 Mar 2010 11:36:46 +0000 Subject: [PATCH] Handle quit in the menu --- Src/gui/gui.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Src/gui/gui.cpp b/Src/gui/gui.cpp index 1bd4109..0cb9bc5 100644 --- a/Src/gui/gui.cpp +++ b/Src/gui/gui.cpp @@ -430,7 +430,9 @@ void Gui::pushEvent(SDL_Event *ev) } default: break; - + case SDL_QUIT: + TheC64->TheDisplay->quit_requested = true; + break; } }