mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 17:10:12 +00:00
ios: Fix empty RAGameView may be displayed when restoring from suspend without a game loaded.
This commit is contained in:
parent
994aa01fcb
commit
67336b690a
@ -133,25 +133,25 @@ void ios_close_game()
|
||||
|
||||
void ios_pause_emulator()
|
||||
{
|
||||
if (gameViewer)
|
||||
if (_isRunning)
|
||||
[gameViewer pause];
|
||||
}
|
||||
|
||||
void ios_resume_emulator()
|
||||
{
|
||||
if (gameViewer)
|
||||
if (_isRunning)
|
||||
[gameViewer resume];
|
||||
}
|
||||
|
||||
void ios_suspend_emulator()
|
||||
{
|
||||
if (gameViewer)
|
||||
if (_isRunning)
|
||||
uninit_drivers();
|
||||
}
|
||||
|
||||
void ios_activate_emulator()
|
||||
{
|
||||
if (!gameViewer)
|
||||
if (_isRunning)
|
||||
init_drivers();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user