IREM m72: Prevent the z80 from getting reset while its already being reset by the main cpu - fixes music in Air Duel

This commit is contained in:
dinkc64 2014-08-16 18:39:13 +00:00
parent e77775be76
commit 00b4cf6547
1 changed files with 1 additions and 1 deletions

View File

@ -1068,7 +1068,7 @@ void __fastcall m72_main_write_port(UINT32 port, UINT8 data)
if (enable_z80_reset) {
if (data & 0x10) {
z80_reset = 0;
} else {
} else if (!z80_reset) { // don't reset it if its already resetting - fixes BGM in airduel -dink
ZetReset();
setvector_callback(VECTOR_INIT);
z80_reset = 1;