summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/romload.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-12-23 06:06:20 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-12-23 06:06:20 +0000
commit7eace0d29ebaf850e563d15441b524fef9b613c3 (patch)
tree048891e7b70e661b453359ffb7076338fde8ad11 /src/emu/romload.c
parent656c6e1f2e4e763bca1cac8627f6c175979cd91c (diff)
EEPROM device now looks for a matching memory region to fetch the
default values from. Fixed bug in ROM loader that would change the memory region flags to match devices with no address bus. Updated groundfx to use the new default loading scheme.
Diffstat (limited to 'src/emu/romload.c')
-rw-r--r--src/emu/romload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/romload.c b/src/emu/romload.c
index 8f01ea4c0ba..ad37030c8bb 100644
--- a/src/emu/romload.c
+++ b/src/emu/romload.c
@@ -1242,7 +1242,7 @@ static void process_disk_entries(rom_load_data *romdata, const char *regiontag,
static UINT32 normalize_flags_for_cpu(running_machine *machine, UINT32 startflags, const char *rgntag)
{
const device_config *device = cputag_get_cpu(machine, rgntag);
- if (device != NULL)
+ if (device != NULL && cpu_get_databus_width(device, ADDRESS_SPACE_PROGRAM) != 0)
{
int buswidth;