From 062c975b469ba944f99a94d0a705a803de757378 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Mon, 4 Mar 2013 23:25:44 +0100 Subject: [PATCH] Ignore cache function 24. --- Core/MIPS/MIPSInt.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Core/MIPS/MIPSInt.cpp b/Core/MIPS/MIPSInt.cpp index 5310a95cb..8d423db81 100644 --- a/Core/MIPS/MIPSInt.cpp +++ b/Core/MIPS/MIPSInt.cpp @@ -150,6 +150,10 @@ namespace MIPSInt // It appears that a cache line is 0x40 (64) bytes. switch (func) { + case 24: + // "Create Dirty Exclusive" - for avoiding a cacheline fill before writing to it. + // Will cause garbage on the real machine so we just ignore it, the app will overwrite the cacheline. + break; case 25: // Hit Invalidate - zaps the line if present in cache. Should not writeback???? scary. // No need to do anything. break;