From c44c99a5b7fc8d83d75c9193327ef5759f89c0bb Mon Sep 17 00:00:00 2001 From: Kingcom Date: Sat, 16 Nov 2013 10:59:49 +0100 Subject: [PATCH] Ignore changes to r0 --- Core/MIPS/MIPSDebugInterface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/MIPS/MIPSDebugInterface.h b/Core/MIPS/MIPSDebugInterface.h index 26ee3e9d6f..8014720bb4 100644 --- a/Core/MIPS/MIPSDebugInterface.h +++ b/Core/MIPS/MIPSDebugInterface.h @@ -121,7 +121,8 @@ public: switch (cat) { case 0: - cpu->r[index] = value; + if (index != 0) + cpu->r[index] = value; break; case 1: