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

Function CPU_GetVideoInterruptEventCount

Source/Core/CPU.cpp:250–261  ·  view source on GitHub ↗

XXXX This is for savestate. Looks very suspicious to me

Source from the content-addressed store, hash-verified

248
249// XXXX This is for savestate. Looks very suspicious to me
250u32 CPU_GetVideoInterruptEventCount()
251{
252 for( u32 i {}; i < gCPUState.NumEvents; ++i )
253 {
254 if(gCPUState.Events[ i ].mEventType == CPU_EVENT_VBL)
255 {
256 return gCPUState.Events[ i ].mCount;
257 }
258 }
259
260 return 0;
261}
262
263// XXXX This is for savestate. Looks very suspicious to me
264void CPU_SetVideoInterruptEventCount( u32 count )

Callers 1

SaveState_SaveToFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected