diff options
author | 2011-01-01 00:41:25 +0000 | |
---|---|---|
committer | 2011-01-01 00:41:25 +0000 | |
commit | 5db7b9e8a332fd90537f9b45ec7539e1b4031e98 (patch) | |
tree | 4c3c1b508454c07f64b3a5795f0139b2cc7500a3 /src/emu/romload.c | |
parent | 6d02b55f4aa41d2edf57aa066fb2bc45b919403d (diff) |
Ok, last major rename for this round:
memory_region() == machine->region()->base()
memory_region_length() == machine->region()->bytes()
region_info -> memory_region
Regex searches:
S: memory_region( *)\(( *)([^,&]+), *([^)]+)\)
R: \3->region\1\(\2\4\)->base\(\)
S: memory_region_length( *)\(( *)([^,&]+), *([^)]+)\)
R: \3->region\1\(\2\4\)->bytes\(\)
Diffstat (limited to 'src/emu/romload.c')
-rw-r--r-- | src/emu/romload.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/romload.c b/src/emu/romload.c index f6c40756275..1ec17b0746b 100644 --- a/src/emu/romload.c +++ b/src/emu/romload.c @@ -64,7 +64,7 @@ struct _romload_private open_chd * chd_list; /* disks */ open_chd ** chd_list_tailptr; - region_info * region; /* info about current region */ + memory_region * region; /* info about current region */ astring errorstring; /* error string */ }; @@ -562,7 +562,7 @@ static void display_rom_load_results(rom_load_data *romdata) static void region_post_process(rom_load_data *romdata, const char *rgntag) { - const region_info *region = romdata->machine->region(rgntag); + const memory_region *region = romdata->machine->region(rgntag); UINT8 *base; int i, j; @@ -832,7 +832,7 @@ static void copy_rom_data(rom_load_data *romdata, const rom_entry *romp) fatalerror("Error in RomModule definition: COPY has an invalid length\n"); /* make sure the source was valid */ - const region_info *region = romdata->machine->region(srcrgntag); + const memory_region *region = romdata->machine->region(srcrgntag); if (region == NULL) fatalerror("Error in RomModule definition: COPY from an invalid region\n"); @@ -1251,7 +1251,7 @@ void load_software_part_region(device_t *device, char *swlist, char *swname, rom assert(ROMENTRY_ISREGION(region)); /* if this is a device region, override with the device width and endianness */ - const region_info *memregion = romdata->machine->region(regiontag); + const memory_region *memregion = romdata->machine->region(regiontag); if (memregion != NULL) { if (romdata->machine->device(regiontag) != NULL) |