summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/mame/mameopts.cpp4
-rw-r--r--src/frontend/mame/ui/swlist.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/mame/mameopts.cpp b/src/frontend/mame/mameopts.cpp
index 54609a601a1..8cb8cff09fa 100644
--- a/src/frontend/mame/mameopts.cpp
+++ b/src/frontend/mame/mameopts.cpp
@@ -115,7 +115,7 @@ void mame_options::update_slot_options(emu_options &options, const software_part
//-------------------------------------------------
-// get_default_card_software
+// get_default_card_software
//-------------------------------------------------
std::string mame_options::get_default_card_software(device_slot_interface &slot, const emu_options &options)
@@ -130,7 +130,7 @@ std::string mame_options::get_default_card_software(device_slot_interface &slot,
auto iter = options.image_options().find(image->instance_name());
if (iter != options.image_options().end())
image_path = iter->second;
-
+
get_hashfile_extrainfo = [image, &options](util::core_file &file, std::string &extrainfo)
{
util::hash_collection hashes = image->calculate_hash_on_file(file);
diff --git a/src/frontend/mame/ui/swlist.cpp b/src/frontend/mame/ui/swlist.cpp
index 746c9bd80ce..dc0e98407fe 100644
--- a/src/frontend/mame/ui/swlist.cpp
+++ b/src/frontend/mame/ui/swlist.cpp
@@ -26,7 +26,7 @@ namespace ui {
#define ERROR_MESSAGE_TIME 5
// item reference for "Switch Item Ordering"
-#define ITEMREF_SWITCH_ITEM_ORDERING ((void *)1)
+#define ITEMREF_SWITCH_ITEM_ORDERING ((void *)1)
/***************************************************************************