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

Function Sio0TestEvent

pcsx2/R3000A.cpp:163–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163static __fi void Sio0TestEvent(IopEventId n)
164{
165 if (!(psxRegs.interrupt & (1 << n)))
166 {
167 return;
168 }
169
170 if (psxTestCycle(psxRegs.sCycle[n], psxRegs.eCycle[n]))
171 {
172 psxRegs.interrupt &= ~(1 << n);
173 g_Sio0.Interrupt(Sio0Interrupt::TEST_EVENT);
174 }
175 else
176 {
177 psxSetNextBranch(psxRegs.sCycle[n], psxRegs.eCycle[n]);
178 }
179}
180
181static __fi void _psxTestInterrupts()
182{

Callers 1

_psxTestInterruptsFunction · 0.85

Calls 3

psxTestCycleFunction · 0.85
psxSetNextBranchFunction · 0.85
InterruptMethod · 0.45

Tested by

no test coverage detected