/* Run the virtual console emulation for one frame */ void system_frame(int skip_render) { /* Debounce pause key */ if(input.system & INPUT_PAUSE) { if(!sms.paused) { sms.paused = 1; z80_nmi(); } } else { sms.paused = 0; } if(SoftResetCount) { SoftResetCount--; if(!SoftResetCount) input.system &= ~INPUT_RESET; } SMS_VDPRunFrame(skip_render); }
void Z80_nmi(void) { z80_nmi(); }