summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/diexec.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2011-03-03 17:05:24 +0000
committer Aaron Giles <aaron@aarongiles.com>2011-03-03 17:05:24 +0000
commit06ee6804dd5d1157a079e02d46abb6612571f21f (patch)
tree831cd82cc7cf6d493e6b5e9a7bf7d956733cf663 /src/emu/diexec.c
parente870e8d7bce1bda126a3ea06391d587dc9b57f01 (diff)
Converted core_options to a class. Removed a bunch of marginal
functionality in favor of alternate mechanisms. Errors are now reported via an astring rather than via callbacks. Every option must now specify a type (command, integer, float, string, boolean, etc). Command behavior has changed so that only one command is permitted. [Aaron Giles] Changed fileio system to accept just a raw searchpath instead of an options/option name combination. [Aaron Giles] Created emu_options class dervied from core_options which wraps core emulator options. Added mechanisms to cleanly change the system name and add/remove system-specific options, versus the old way using callbacks. Also added read accessors for all the options, to ensure consistency in how parameters are handled. Changed most core systems to access emu_options instead of core_options. Also changed machine->options() to return emu_options. [Aaron Giles] Created cli_options class derived from emu_options which adds the command-line specific options. Updated clifront code to leverage the new class and the new core behaviors. cli_execute() now accepts a cli_options object when called. [Aaron Giles] Updated both SDL and Windows to have their own options classes, derived from cli_options, which add the OSD-specific options on top of everything else. Added accessors for all the options so that queries are strongly typed and simplified. [Aaron Giles] Out of whatsnew: I've surely screwed up some stuff, though I have smoke tested a bunch of things. Let me know if you hit anything odd. Also I know this change will impact the WINUI stuff, please let me know if there are issues. All the functionality necessary should still be present. If it's not obvious, please talk to me before adding stuff to the core_options class.
Diffstat (limited to 'src/emu/diexec.c')
-rw-r--r--src/emu/diexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/diexec.c b/src/emu/diexec.c
index 43f28ecc8ba..ae703b650be 100644
--- a/src/emu/diexec.c
+++ b/src/emu/diexec.c
@@ -211,7 +211,7 @@ UINT32 device_config_execute_interface::execute_default_irq_vector() const
// constructed
//-------------------------------------------------
-bool device_config_execute_interface::interface_validity_check(core_options &options, const game_driver &driver) const
+bool device_config_execute_interface::interface_validity_check(emu_options &options, const game_driver &driver) const
{
const device_config *devconfig = crosscast<const device_config *>(this);
bool error = false;