Z80 vector should actually be reset to 0xff on every reset!
This commit is contained in:
parent
5bc285225e
commit
3827b7fefb
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue