From 32f2f045e4a555ebfc4f928ba77a71f016c2dd12 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 5 Oct 2013 14:24:05 -0700 Subject: [PATCH] Don't report a loadclut of 0. --- GPU/Software/SoftGpu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GPU/Software/SoftGpu.cpp b/GPU/Software/SoftGpu.cpp index e841bf04f1..038fbae46d 100644 --- a/GPU/Software/SoftGpu.cpp +++ b/GPU/Software/SoftGpu.cpp @@ -472,7 +472,8 @@ void SoftGPU::ExecuteOp(u32 op, u32 diff) if (Memory::IsValidAddress(clutAddr)) { Memory::MemcpyUnchecked(clut, clutAddr, clutTotalBytes); - } else { + // TODO: Do something to the CLUT with 0? + } else if (clutAddr != 0) { // TODO: Does this make any sense? ERROR_LOG_REPORT_ONCE(badClut, G3D, "Software: Invalid CLUT address, filling with garbage instead of crashing"); memset(clut, 0xFF, clutTotalBytes);