mirror of
https://github.com/libretro/ppsspp.git
synced 2025-03-02 05:36:43 +00:00
Merge pull request #3180 from raven02/patch-2
Break fix title CG missing in Midlight club 3
This commit is contained in:
commit
97cc16cd6d
@ -407,9 +407,11 @@ void hleEnterVblank(u64 userdata, int cyclesLate) {
|
||||
// TODO: Should this be done here or in hleLeaveVblank?
|
||||
if (framebufIsLatched) {
|
||||
DEBUG_LOG(HLE, "Setting latched framebuffer %08x (prev: %08x)", latchedFramebuf.topaddr, framebuf.topaddr);
|
||||
framebuf = latchedFramebuf;
|
||||
framebufIsLatched = false;
|
||||
gpu->SetDisplayFramebuffer(framebuf.topaddr, framebuf.pspFramebufLinesize, framebuf.pspFramebufFormat);
|
||||
if (latchedFramebuf.topaddr != framebuf.topaddr) {
|
||||
framebuf = latchedFramebuf;
|
||||
framebufIsLatched = false;
|
||||
gpu->SetDisplayFramebuffer(framebuf.topaddr, framebuf.pspFramebufLinesize, framebuf.pspFramebufFormat);
|
||||
}
|
||||
}
|
||||
|
||||
gpuStats.numVBlanks++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user