Revert "Remove hack for BREAK in Sol Trigger"

This reverts commit 3d2c3c7227.

This wasn't a hack dedicated to Sol Trigger.  It helps other games, and
keeping it is just like allowing games to continue on bad memory address
reads.
This commit is contained in:
Unknown W. Brackets 2013-06-26 07:56:36 -07:00
parent eb33d302f1
commit abe3d95877

View File

@ -27,6 +27,7 @@
#include "MIPSInt.h"
#include "MIPSTables.h"
#include "Core/Reporting.h"
#include "Core/Config.h"
#include "../HLE/HLE.h"
#include "../System.h"
@ -191,7 +192,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;
}