diff options
Diffstat (limited to 'src/emu/romload.h')
-rw-r--r-- | src/emu/romload.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/romload.h b/src/emu/romload.h index 77cc35d0626..108eabd1820 100644 --- a/src/emu/romload.h +++ b/src/emu/romload.h @@ -121,6 +121,7 @@ enum class machine_config; class emu_options; +class chd_file; typedef device_t rom_source; @@ -315,13 +316,13 @@ astring &rom_region_name(astring &result, const game_driver *drv, const rom_sour /* ----- disk handling ----- */ /* open a disk image, searching up the parent and loading by checksum */ -chd_error open_disk_image(emu_options &options, const game_driver *gamedrv, const rom_entry *romp, emu_file **image_file, chd_file **image_chd,const char *locationtag); +int open_disk_image(emu_options &options, const game_driver *gamedrv, const rom_entry *romp, chd_file &image_chd, const char *locationtag); /* return a pointer to the CHD file associated with the given region */ chd_file *get_disk_handle(running_machine &machine, const char *region); /* set a pointer to the CHD file associated with the given region */ -void set_disk_handle(running_machine &machine, const char *region, emu_file &file, chd_file &chdfile); +int set_disk_handle(running_machine &machine, const char *region, const char *fullpath); void load_software_part_region(device_t *device, char *swlist, char *swname, rom_entry *start_region); |