MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / intBreakpoint

Function intBreakpoint

pcsx2/Interpreter.cpp:66–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64// These macros are used to assemble the repassembler functions
65
66void intBreakpoint(bool memcheck)
67{
68 const u32 pc = cpuRegs.pc;
69 if (CBreakPoints::CheckSkipFirst(BREAKPOINT_EE, pc) != 0)
70 {
71 CBreakPoints::ClearSkipFirst(BREAKPOINT_EE);
72 return;
73 }
74
75 if (!memcheck)
76 {
77 auto cond = CBreakPoints::GetBreakPointCondition(BREAKPOINT_EE, pc);
78 if (cond && !cond->Evaluate())
79 return;
80 }
81
82 CBreakPoints::SetBreakpointTriggered(true, BREAKPOINT_EE);
83 VMManager::SetPaused(true);
84 Cpu->ExitExecution();
85}
86
87void intMemcheck(u32 op, u32 bits, bool store)
88{

Callers 2

intMemcheckFunction · 0.85
execIFunction · 0.85

Calls 1

EvaluateMethod · 0.80

Tested by

no test coverage detected