From be768466797999989c18a19caa0d22b93127ee6f Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 5 Jul 2014 00:49:30 -0700 Subject: [PATCH] When applying the Danganronpa hack, force 5551. This prevents dithering from happening during the blit, and since dithering is off during drawing, allows the colors to be correct on some devices which always dither during blits. --- GPU/GLES/Framebuffer.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/GPU/GLES/Framebuffer.cpp b/GPU/GLES/Framebuffer.cpp index 30aca686c9..d0980e716e 100644 --- a/GPU/GLES/Framebuffer.cpp +++ b/GPU/GLES/Framebuffer.cpp @@ -787,7 +787,12 @@ void FramebufferManager::ResizeFramebufFBO(VirtualFramebuffer *vfb, u16 w, u16 h vfb->renderWidth = vfb->bufferWidth * renderWidthFactor; vfb->renderHeight = vfb->bufferHeight * renderHeightFactor; - if (g_Config.bTrueColor) { + bool trueColor = g_Config.bTrueColor; + if (hackForce04154000Download_ && vfb->fb_address == 0x00154000) { + trueColor = false; + } + + if (trueColor) { vfb->colorDepth = FBO_8888; } else { switch (vfb->format) {