mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +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:
1 parent
66e13f774d
commit
ed90ab4fa6
1 file changed
+3
@@ -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