From 39c3cf874400f372f736298cf9f2e80fa2559211 Mon Sep 17 00:00:00 2001 From: raven02 Date: Tue, 9 Apr 2013 16:13:24 +0800 Subject: [PATCH] Ignore MIPS break error --- Core/MIPS/MIPSInt.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/MIPS/MIPSInt.cpp b/Core/MIPS/MIPSInt.cpp index e3be300666..1ffb752b05 100644 --- a/Core/MIPS/MIPSInt.cpp +++ b/Core/MIPS/MIPSInt.cpp @@ -25,6 +25,7 @@ #include "MIPSInt.h" #include "MIPSTables.h" #include "Core/Reporting.h" +#include "Core/Config.h" #include "../HLE/HLE.h" #include "../System.h" @@ -194,7 +195,8 @@ namespace MIPSInt { Reporting::ReportMessage("BREAK instruction hit"); ERROR_LOG(CPU, "BREAK!"); - Core_UpdateState(CORE_STEPPING); + if (!g_Config.bIgnoreBadMemAccess) + Core_UpdateState(CORE_STEPPING); PC += 4; }