Autoamtically save game info when the screenshot timeout expires

This commit is contained in:
simon.kagstrom 2010-03-13 08:55:57 +00:00
parent 789168ef86
commit 906887f85d

View File

@ -52,7 +52,10 @@ public:
virtual void timeoutCallback()
{
if (!Gui::gui->cur_gameInfo->screenshot)
{
Gui::gui->cur_gameInfo->setScreenshot(TheC64->TheDisplay->SurfaceFromC64Display());
Gui::gui->updateGameInfo(new GameInfo(Gui::gui->cur_gameInfo));
}
delete this;
}