Wait a while if the gui is active

This commit is contained in:
simon.kagstrom 2010-03-21 12:52:32 +00:00
parent 12ed482d0d
commit d6d8217866

View File

@ -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));
}