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

Method Update

pcsx2/DebugTools/Breakpoints.cpp:486–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

484}
485
486void 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}

Callers

nothing calls this directly

Calls 4

isCpuPausedMethod · 0.80
pauseCpuMethod · 0.80
resumeCpuMethod · 0.80
ResetMethod · 0.45

Tested by

no test coverage detected