mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-26 05:24:21 +01:00
Autoamtically save game info when the screenshot timeout expires
This commit is contained in:
parent
789168ef86
commit
906887f85d
@ -52,7 +52,10 @@ public:
|
|||||||
virtual void timeoutCallback()
|
virtual void timeoutCallback()
|
||||||
{
|
{
|
||||||
if (!Gui::gui->cur_gameInfo->screenshot)
|
if (!Gui::gui->cur_gameInfo->screenshot)
|
||||||
|
{
|
||||||
Gui::gui->cur_gameInfo->setScreenshot(TheC64->TheDisplay->SurfaceFromC64Display());
|
Gui::gui->cur_gameInfo->setScreenshot(TheC64->TheDisplay->SurfaceFromC64Display());
|
||||||
|
Gui::gui->updateGameInfo(new GameInfo(Gui::gui->cur_gameInfo));
|
||||||
|
}
|
||||||
|
|
||||||
delete this;
|
delete this;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user