summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/clifront.cpp
diff options
context:
space:
mode:
author Miodrag Milanović <mmicko@gmail.com>2016-01-31 08:31:35 +0100
committer Miodrag Milanović <mmicko@gmail.com>2016-01-31 08:31:35 +0100
commit68e9c4fea3081379bc1f5ade9c60e731960074e0 (patch)
treeacd4a78a22e69f185fd065c9eee49ea9765b4090 /src/emu/clifront.cpp
parentf5be481030eb6630d8657423b07aaef562d37b2d (diff)
parentd3eecba525738c97e7172317ef5dfd7350b64361 (diff)
Merge pull request #597 from ajrhacker/swslotdefault
Software list entries can now supply slot option defaults [AJR] This feature is enabled when executing 'mame driver software'. After the specified software is found in the software list and attached to an appropriate image device, the software part's feature list is examined for any feature whose name is that of a slot device with _default appended. The feature's value field becomes the slot's default option, which overrides any driver-specified default and can be overridden by user-specified options. No software lists have been updated to use this feature at the moment.
Diffstat (limited to 'src/emu/clifront.cpp')
-rw-r--r--src/emu/clifront.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/clifront.cpp b/src/emu/clifront.cpp
index 05b0ace6116..50e8464a14c 100644
--- a/src/emu/clifront.cpp
+++ b/src/emu/clifront.cpp
@@ -148,7 +148,7 @@ int cli_frontend::execute(int argc, char **argv)
strprintf(val, "%s:%s:%s", swlistdev->list_name(), m_options.software_name(), swpart->name());
// call this in order to set slot devices according to mounting
- m_options.parse_slot_devices(argc, argv, option_errors, image->instance_name(), val.c_str());
+ m_options.parse_slot_devices(argc, argv, option_errors, image->instance_name(), val.c_str(), swpart);
break;
}
}