mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-17 16:30:30 +02:00
Don't report a loadclut of 0.
This commit is contained in:
1 parent
01c84caffc
commit
32f2f045e4
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user