ios: Fix empty RAGameView may be displayed when restoring from suspend without a game loaded.

This commit is contained in:
meancoot 2013-02-15 18:51:46 -05:00
parent 994aa01fcb
commit 67336b690a

View File

@ -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();
}