mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-10 21:55:11 +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()
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user