void si_end_of_dma_event(struct si_controller* si) { main_check_inputs(); si->pif.ram[0x3f] = 0x0; /* trigger SI interrupt */ si->regs[SI_STATUS_REG] |= 0x1000; raise_rcp_interrupt(si->r4300, MI_INTR_SI); }
/* called on vertical interrupt. * Allow the core to perform various things */ void new_vi(void) { gs_apply_cheats(); main_check_inputs(); #if 0 timed_sections_refresh(); pause_loop(); apply_speed_limiter(); #endif }