MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / UpdateCountAndHandleException

Function UpdateCountAndHandleException

Source/DynaRec/Fragment.cpp:228–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 }
227#ifdef FRAGMENT_SIMULATE_EXECUTION
228 void UpdateCountAndHandleException( u32 instructions_executed )
229 {
230#ifdef UPDATE_COUNTER_ON_EXCEPTION
231 // If we're updating the counter on every instruction, there's no need to do this...
232 #ifndef IMMEDIATE_COUNTER_UPDATE
233 CPU_UpdateCounterNoInterrupt( instructions_executed );
234 #endif
235#endif
236 HandleException();
237 }
238 void CheckCop1Usable()
239 {
240 if( (gCPUState.CPUControl[C0_SR]._u32_0 & SR_CU1) == 0 )

Callers

nothing calls this directly

Calls 2

HandleExceptionFunction · 0.85

Tested by

no test coverage detected