From 94ded4c00cdb3a68ec885cc32bfecf6b27860b9f Mon Sep 17 00:00:00 2001 From: raven02 Date: Thu, 15 Aug 2013 21:58:18 +0800 Subject: [PATCH] Break fix title CG missing in Midlight club 3 --- Core/HLE/sceDisplay.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Core/HLE/sceDisplay.cpp b/Core/HLE/sceDisplay.cpp index a58eb10fff..1504ae3712 100644 --- a/Core/HLE/sceDisplay.cpp +++ b/Core/HLE/sceDisplay.cpp @@ -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++;