From 6016806bd9313c7280035fd2fe94d43b311c248b Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Mon, 25 Jan 2010 15:46:00 +0000 Subject: [PATCH] Correct CPU reset --- Src/gui/options_menu.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Src/gui/options_menu.cpp b/Src/gui/options_menu.cpp index 5586447..32f8ab4 100644 --- a/Src/gui/options_menu.cpp +++ b/Src/gui/options_menu.cpp @@ -23,10 +23,11 @@ public: virtual void selectCallback(int which) { - if (which == 9) /* Game info */ + if (which == 10) /* Game info */ { Gui::gui->status_bar->queueMessage("Resetting the C64"); - Gui::gui->popView(); + Gui::gui->exitMenu(); + TheC64->Reset(); return; } /* Select theme */