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

Function CPU_SkipToNextEvent

Source/Core/CPU.cpp:133–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void CPU_SkipToNextEvent()
134{
135 LOCK_EVENT_QUEUE();
136
137#ifdef DAEDALUS_ENABLE_ASSERTS
138 DAEDALUS_ASSERT( gCPUState.NumEvents > 0, "There are no events" );
139 #endif
140 gCPUState.CPUControl[C0_COUNT]._u32 += (gCPUState.Events[ 0 ].mCount - 1);
141 gCPUState.Events[ 0 ].mCount = 1;
142}
143
144static void CPU_ResetEventList()
145{

Callers 1

SpeedHackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected