| 484 | } |
| 485 | |
| 486 | void CBreakPoints::Update(BreakPointCpu cpu, u32 addr) |
| 487 | { |
| 488 | bool resume = false; |
| 489 | if (!r5900Debug.isCpuPaused()) |
| 490 | { |
| 491 | corePaused = true; // This will be set to false in whatever handles the VM pause event |
| 492 | r5900Debug.pauseCpu(); |
| 493 | resume = true; |
| 494 | } |
| 495 | |
| 496 | if (cpu & BREAKPOINT_EE) |
| 497 | { |
| 498 | Cpu->Reset(); |
| 499 | } |
| 500 | |
| 501 | if (cpu & BREAKPOINT_IOP) |
| 502 | { |
| 503 | psxCpu->Reset(); |
| 504 | } |
| 505 | |
| 506 | if (resume) |
| 507 | r5900Debug.resumeCpu(); |
| 508 | } |
nothing calls this directly
no test coverage detected