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

Function intSafeExitExecution

pcsx2/Interpreter.cpp:570–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568}
569
570static void intSafeExitExecution()
571{
572 // If we're currently processing events, we can't safely jump out of the interpreter here, because we'll
573 // leave things in an inconsistent state. So instead, we flag it for exiting once cpuEventTest() returns.
574 if (eeEventTestIsActive)
575 intExitExecution = true;
576 else
577 {
578 if (CHECK_EEREC)
579 writebackCache();
580 fastjmp_jmp(&intJmpBuf, 1);
581 }
582}
583
584static void intCancelInstruction()
585{

Callers

nothing calls this directly

Calls 1

writebackCacheFunction · 0.85

Tested by

no test coverage detected