307 |
|
#if !PRECISE_TIMING |
308 |
|
TimerInterrupt(); |
309 |
|
#endif |
310 |
– |
#if EMULATED_PPC |
310 |
|
ExecuteNative(NATIVE_VIDEO_VBL); |
312 |
– |
#else |
313 |
– |
ExecutePPC(VideoVBL); |
314 |
– |
#endif |
311 |
|
|
312 |
|
static int tick_counter = 0; |
313 |
|
if (++tick_counter >= 60) { |
325 |
|
} |
326 |
|
if (InterruptFlags & INTFLAG_ETHER) { |
327 |
|
ClearInterruptFlag(INTFLAG_ETHER); |
332 |
– |
#if EMULATED_PPC |
328 |
|
ExecuteNative(NATIVE_ETHER_IRQ); |
334 |
– |
#else |
335 |
– |
ExecutePPC(EtherIRQ); |
336 |
– |
#endif |
329 |
|
} |
330 |
|
if (InterruptFlags & INTFLAG_TIMER) { |
331 |
|
ClearInterruptFlag(INTFLAG_TIMER); |