mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Update the debugger on a break instruction.
Before it would still show "Stop" even though it was paused.
This commit is contained in:
parent
fe2b62c27d
commit
5e01119d60
1 changed files with 6 additions and 3 deletions
|
@ -22,13 +22,14 @@
|
||||||
#include "math/math_util.h"
|
#include "math/math_util.h"
|
||||||
|
|
||||||
#include "Common/Common.h"
|
#include "Common/Common.h"
|
||||||
|
#include "Core/Config.h"
|
||||||
#include "Core/Core.h"
|
#include "Core/Core.h"
|
||||||
|
#include "Core/Host.h"
|
||||||
#include "Core/MIPS/MIPS.h"
|
#include "Core/MIPS/MIPS.h"
|
||||||
#include "Core/MIPS/MIPSInt.h"
|
#include "Core/MIPS/MIPSInt.h"
|
||||||
#include "Core/MIPS/MIPSTables.h"
|
#include "Core/MIPS/MIPSTables.h"
|
||||||
#include "Core/MIPS/JitCommon/JitCommon.h"
|
#include "Core/MIPS/JitCommon/JitCommon.h"
|
||||||
#include "Core/Reporting.h"
|
#include "Core/Reporting.h"
|
||||||
#include "Core/Config.h"
|
|
||||||
#include "Core/HLE/HLE.h"
|
#include "Core/HLE/HLE.h"
|
||||||
#include "Core/HLE/HLETables.h"
|
#include "Core/HLE/HLETables.h"
|
||||||
#include "Core/HLE/ReplaceTables.h"
|
#include "Core/HLE/ReplaceTables.h"
|
||||||
|
@ -182,8 +183,10 @@ namespace MIPSInt
|
||||||
{
|
{
|
||||||
Reporting::ReportMessage("BREAK instruction hit");
|
Reporting::ReportMessage("BREAK instruction hit");
|
||||||
ERROR_LOG(CPU, "BREAK!");
|
ERROR_LOG(CPU, "BREAK!");
|
||||||
if (!g_Config.bIgnoreBadMemAccess)
|
if (!g_Config.bIgnoreBadMemAccess) {
|
||||||
Core_UpdateState(CORE_STEPPING);
|
Core_EnableStepping(true);
|
||||||
|
host->SetDebugMode(true);
|
||||||
|
}
|
||||||
PC += 4;
|
PC += 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue