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

Function psxSetNextBranch

pcsx2/R3000A.cpp:97–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97__fi void psxSetNextBranch( u64 startCycle, s32 delta )
98{
99 // typecast the conditional to signed so that things don't blow up
100 // if startCycle is greater than our next branch cycle.
101
102 if( (int)(psxRegs.iopNextEventCycle - startCycle) > delta )
103 psxRegs.iopNextEventCycle = startCycle + delta;
104}
105
106__fi void psxSetNextBranchDelta( s32 delta )
107{

Callers 4

psxSetNextBranchDeltaFunction · 0.85
IopTestEventFunction · 0.85
Sio0TestEventFunction · 0.85
_rcntSetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected