From 8efb5280d52637112fa5aff7585a364afa60bf8d Mon Sep 17 00:00:00 2001 From: The Dax Date: Sun, 18 Aug 2013 19:07:42 -0400 Subject: [PATCH] Fix Gran Turismo's warped text. --- GPU/GLES/DisplayListInterpreter.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/GPU/GLES/DisplayListInterpreter.cpp b/GPU/GLES/DisplayListInterpreter.cpp index 0c8bb9d811..1698f6d172 100644 --- a/GPU/GLES/DisplayListInterpreter.cpp +++ b/GPU/GLES/DisplayListInterpreter.cpp @@ -693,6 +693,9 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) { // and take appropriate action. This is a block transfer between RAM and VRAM, or vice versa. // Can we skip this on SkipDraw? DoBlockTransfer(); + + // Fixes Gran Turismo's funky text issue. + gstate_c.textureChanged = true; break; } @@ -1096,7 +1099,7 @@ void GLES_GPU::DoBlockTransfer() { int bpp = (gstate.transferstart & 1) ? 4 : 2; - DEBUG_LOG(G3D, "Block transfer: %08x to %08x, %i x %i , ...", srcBasePtr, dstBasePtr, width, height); + DEBUG_LOG(G3D, "Block transfer: %08x/%x -> %08x/%x, %ix%ix%i (%i,%i)->(%i,%i)", srcBasePtr, srcStride, dstBasePtr, dstStride, width, height, bpp, srcX, srcY, dstX, dstY); // Do the copy! for (int y = 0; y < height; y++) {