mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Save some work when the displayed buffer isn't dirty.
This commit is contained in:
1 parent
47b65ce200
commit
a41cd7bdba
1 file changed
+1
-2
@@ -460,9 +460,8 @@ void hleEnterVblank(u64 userdata, int cyclesLate) {
|
||||
// Check first though, might've just quit / been paused.
|
||||
if (coreState == CORE_RUNNING && gpu->FramebufferDirty()) {
|
||||
coreState = CORE_NEXTFRAME;
|
||||
gpu->CopyDisplayToOutput();
|
||||
}
|
||||
|
||||
gpu->CopyDisplayToOutput();
|
||||
}
|
||||
|
||||
// Returning here with coreState == CORE_NEXTFRAME causes a buffer flip to happen (next frame).
|
||||
|
||||
Reference in new issue
Block a user