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

Function psxTestCycle

pcsx2/R3000A.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111__fi int psxTestCycle( u64 startCycle, s32 delta )
112{
113 // typecast the conditional to signed so that things don't explode
114 // if the startCycle is ahead of our current cpu cycle.
115
116 return (int)(psxRegs.cycle - startCycle) >= delta;
117}
118
119__fi int psxRemainingCycles(IopEventId n)
120{

Callers 3

IopTestEventFunction · 0.85
Sio0TestEventFunction · 0.85
iopEventTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected