| 64 | // These macros are used to assemble the repassembler functions |
| 65 | |
| 66 | void 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 | |
| 87 | void intMemcheck(u32 op, u32 bits, bool store) |
| 88 | { |
no test coverage detected