summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/emuopts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/emuopts.cpp')
-rw-r--r--src/emu/emuopts.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/emu/emuopts.cpp b/src/emu/emuopts.cpp
index 06c816a2ff5..7c5deccbdac 100644
--- a/src/emu/emuopts.cpp
+++ b/src/emu/emuopts.cpp
@@ -747,9 +747,9 @@ void emu_options::reevaluate_default_card_software()
// retrieve info about the device instance
auto &slot_opt(slot_option(slot.slot_name()));
- // device_slot_interface::get_default_card_software() is essentially a hook
- // that lets devices provide a feedback loop to force a specified software
- // list entry to be loaded
+ // device_slot_interface::get_default_card_software() allows a device that
+ // implements both device_slot_interface and device_image_interface to
+ // probe an image and specify the card device that should be loaded
//
// In the repeated cycle of adding slots and slot devices, this gives a chance
// for devices to "plug in" default software list items. Of course, the fact
@@ -795,10 +795,10 @@ std::string emu_options::get_default_card_software(device_slot_interface &slot)
util::hash_collection hashes = image->calculate_hash_on_file(file);
return hashfile_extrainfo(
- hash_path(),
- image->device().mconfig().gamedrv(),
- hashes,
- extrainfo);
+ hash_path(),
+ image->device().mconfig().gamedrv(),
+ hashes,
+ extrainfo);
};
}