Fix an ordering issue causing us to hit some asserts

This commit is contained in:
Henrik Rydgård committed 2021-12-10 21:00:45 +01:00
1 parent 7b07a1385a
commit e10b53def3
1 file changed
+3 -1
+3 -1
View File
@@ -1413,9 +1413,11 @@ void EmuScreen::render() {
break;
}
PSP_EndHostFrame();
// This must happen after PSP_EndHostFrame so that things like push buffers are end-frame'd before we start destroying stuff.
checkPowerDown();
PSP_EndHostFrame();
if (invalid_)
return;