Z80 vector should actually be reset to 0xff on every reset!

This commit is contained in:
iq_132 2014-11-02 23:03:49 +00:00
parent 5bc285225e
commit 3827b7fefb
2 changed files with 2 additions and 4 deletions

View File

@ -481,10 +481,6 @@ void seibu_sound_exit()
MSM6295Exit(0);
if (seibu_snd_type & 4) MSM6295Exit(1);
ZetOpen(0);
ZetSetVector(0xff); // Set back the default z80 vector of 0xff, some games depend on this. FIXME: shouldn't the zet core do this on init?
ZetExit();
MSM6295ROM = NULL;
SeibuZ80DecROM = NULL;

View File

@ -3495,6 +3495,8 @@ void Z80Reset()
Z80.irq_state = Z80_CLEAR_LINE;
Z80.after_ei = FALSE;
Z80Vector = 0xff;
if (Z80.daisy)
z80daisy_reset(Z80.daisy);