mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-11 15:13:37 +02:00
UI: Fix occassional issue starting second game.
Sometimes render() would be called before update() after creating EmuScreen, and we'd exit out instead of starting the game.
This commit is contained in:
@@ -129,6 +129,9 @@ EmuScreen::EmuScreen(const std::string &filename)
|
||||
frameStep_ = false;
|
||||
lastNumFlips = gpuStats.numFlips;
|
||||
startDumping = false;
|
||||
// Make sure we don't leave it at powerdown after the last game.
|
||||
if (coreState == CORE_POWERDOWN)
|
||||
coreState = CORE_STEPPING;
|
||||
|
||||
OnDevMenu.Handle(this, &EmuScreen::OnDevTools);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user