summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devintrf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/devintrf.c')
-rw-r--r--src/emu/devintrf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/devintrf.c b/src/emu/devintrf.c
index 3fc292e60e0..cf1f26a6e4f 100644
--- a/src/emu/devintrf.c
+++ b/src/emu/devintrf.c
@@ -269,7 +269,7 @@ void device_config_interface::interface_config_complete()
// constructed
//-------------------------------------------------
-bool device_config_interface::interface_validity_check(const game_driver &driver) const
+bool device_config_interface::interface_validity_check(core_options &options, const game_driver &driver) const
{
return false;
}
@@ -336,17 +336,17 @@ void device_config::config_complete()
// configuration has been constructed
//-------------------------------------------------
-bool device_config::validity_check(const game_driver &driver) const
+bool device_config::validity_check(core_options &options, const game_driver &driver) const
{
bool error = false;
// validate via the interfaces
for (device_config_interface *intf = m_interface_list; intf != NULL; intf = intf->interface_next())
- if (intf->interface_validity_check(driver))
+ if (intf->interface_validity_check(options, driver))
error = true;
// let the device itself validate
- if (device_validity_check(driver))
+ if (device_validity_check(options, driver))
error = true;
return error;
@@ -370,7 +370,7 @@ void device_config::device_config_complete()
// the configuration has been constructed
//-------------------------------------------------
-bool device_config::device_validity_check(const game_driver &driver) const
+bool device_config::device_validity_check(core_options &options, const game_driver &driver) const
{
// indicate no error by default
return false;