From: Atari Ace [mailto:atari_ace@verizon.net]

Sent: Sunday, February 22, 2009 8:17 PM
To: submit@mamedev.org
Cc: atariace@hotmail.com
Subject: [patch] Fix 02927: Many Sets using segaic16.c: Crash/Freeze while starting

Hi mamedev,

My multisession fix for fd1094 inadvertently dropped a call to memory_configure_bank that I wrongly thought was unnecessary.
Reverting that part of the change seems to fix this bug.

~aa
This commit is contained in:
Phil Bennett 2009-02-23 12:26:29 +00:00
parent 3bc63738c2
commit 54eb6adc8b

View File

@ -387,10 +387,10 @@ static void update_memory_mapping(running_machine *machine, struct memory_mapper
if (!decrypted) if (!decrypted)
decrypted = fd1089_get_decrypted_base(); decrypted = fd1089_get_decrypted_base();
} }
memory_configure_bank(machine, banknum, 0, 1, (UINT8 *)chip->cpu->region + region_start, 0);
if (decrypted) if (decrypted)
memory_configure_bank_decrypted(machine, banknum, 0, 1, decrypted + region_start, 0); memory_configure_bank_decrypted(machine, banknum, 0, 1, decrypted + region_start, 0);
else
memory_configure_bank(machine, banknum, 0, 1, (UINT8 *)chip->cpu->region + region_start, 0);
memory_set_bank(machine, banknum, 0); memory_set_bank(machine, banknum, 0);
} }