mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-02 06:44:45 +00:00
Save some work when the displayed buffer isn't dirty.
This commit is contained in:
parent
47b65ce200
commit
a41cd7bdba
@ -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).
|
||||
|
Loading…
x
Reference in New Issue
Block a user