diff options
author | 2010-07-06 14:27:51 +0000 | |
---|---|---|
committer | 2010-07-06 14:27:51 +0000 | |
commit | 16f14bc5f9192c523e7f1d7bb47e77cb8a2e82ee (patch) | |
tree | d1fcbcc62beb1520d5f468775e0eb516822d0be6 /src/emu/romload.c | |
parent | 4d9a17ee08327b44238d0393f2fc4162d4db6159 (diff) |
- Added MDRV_SOFTWARE_LIST_COMPATIBLE_ADD for adding compatible software lists (for documentation purposes) [Miodrag Milanovic]
- listsoftware option now return only original software lists
- UI is updated to enable mounting software items per device, it will display only items from list that are for specific device
- Separate compatible software lists in UI
Diffstat (limited to 'src/emu/romload.c')
-rw-r--r-- | src/emu/romload.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/romload.c b/src/emu/romload.c index ef5f71c6623..bdad2e7eae0 100644 --- a/src/emu/romload.c +++ b/src/emu/romload.c @@ -1292,7 +1292,8 @@ void load_software_part_region(running_device *device, char *swlist, char *swnam const region_info *memregion = romdata->machine->region(regiontag); if (memregion != NULL) { - regionflags = normalize_flags_for_device(romdata->machine, regionflags, regiontag); + if (romdata->machine->device(regiontag) != NULL) + regionflags = normalize_flags_for_device(romdata->machine, regionflags, regiontag); /* clear old region (todo: should be moved to an image unload function) */ romdata->machine->region_free(memregion->name()); |