FullscreenUI: Fix empty cheat menu leaving system paused

This commit is contained in:
Connor McLaughlin 2021-05-13 14:00:20 +10:00
parent a6d2324f0e
commit 3d972955a7

View file

@ -614,6 +614,7 @@ static void DoCheatsMenu()
if (!s_host_interface->LoadCheatListFromDatabase() || !(cl = System::GetCheatList())) if (!s_host_interface->LoadCheatListFromDatabase() || !(cl = System::GetCheatList()))
{ {
s_host_interface->AddFormattedOSDMessage(10.0f, "No cheats found for %s.", System::GetRunningTitle().c_str()); s_host_interface->AddFormattedOSDMessage(10.0f, "No cheats found for %s.", System::GetRunningTitle().c_str());
ReturnToMainWindow();
return; return;
} }
} }