From d6d8217866e5431dc65adc0d314296d02efda53f Mon Sep 17 00:00:00 2001 From: "simon.kagstrom" Date: Sun, 21 Mar 2010 12:52:32 +0000 Subject: [PATCH] Wait a while if the gui is active --- Src/gui/disc_menu.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Src/gui/disc_menu.cpp b/Src/gui/disc_menu.cpp index 762074c..a808cfd 100644 --- a/Src/gui/disc_menu.cpp +++ b/Src/gui/disc_menu.cpp @@ -53,6 +53,12 @@ public: { if (!Gui::gui->cur_gameInfo->screenshot) { + if (Gui::gui->is_active) + { + /* Rearm if we are in the GUI */ + Gui::gui->timerController->arm(this, 10000); + return; + } Gui::gui->cur_gameInfo->setScreenshot(TheC64->TheDisplay->SurfaceFromC64Display()); Gui::gui->updateGameInfo(new GameInfo(Gui::gui->cur_gameInfo)); }