mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-03 11:13:44 +01:00
Fix annoying little flicker when starting a game.
This commit is contained in:
1 parent
4788221251
commit
8bfdf7b1b2
3 files changed
+8
-3
No files matched your search
+3
-1
@@ -320,11 +320,13 @@ void EmuScreen::sendMessage(const char *message, const char *value) {
|
||||
// We will push MainScreen in update().
|
||||
PSP_Shutdown();
|
||||
bootPending_ = false;
|
||||
stopRender_ = true;
|
||||
invalid_ = true;
|
||||
host->UpdateDisassembly();
|
||||
} else if (!strcmp(message, "reset")) {
|
||||
PSP_Shutdown();
|
||||
bootPending_ = true;
|
||||
stopRender_ = true;
|
||||
invalid_ = true;
|
||||
host->UpdateDisassembly();
|
||||
|
||||
@@ -987,7 +989,7 @@ void EmuScreen::postRender() {
|
||||
Draw::DrawContext *draw = screenManager()->getDrawContext();
|
||||
if (!draw)
|
||||
return;
|
||||
if (invalid_)
|
||||
if (stopRender_)
|
||||
draw->WipeQueue();
|
||||
draw->EndFrame();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user