void sms_init(void) { #if PSX z80_set_context((void *)0x1F800000); #endif cpu_reset(); sms_reset(); }
static void z80_setctx(void *ctx) { M1Z80T **ourctx; ourctx = (M1Z80T **)ctx; #ifdef USE_Z80 z80_set_context(ourctx); #endif #ifdef USE_DRZ80 drz80_set_context(ourctx); #endif }