mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 11:29:24 +01:00
Wait a while if the gui is active
This commit is contained in:
parent
12ed482d0d
commit
d6d8217866
@ -53,6 +53,12 @@ public:
|
|||||||
{
|
{
|
||||||
if (!Gui::gui->cur_gameInfo->screenshot)
|
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->cur_gameInfo->setScreenshot(TheC64->TheDisplay->SurfaceFromC64Display());
|
||||||
Gui::gui->updateGameInfo(new GameInfo(Gui::gui->cur_gameInfo));
|
Gui::gui->updateGameInfo(new GameInfo(Gui::gui->cur_gameInfo));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user