diff options
author | 2011-03-03 17:05:24 +0000 | |
---|---|---|
committer | 2011-03-03 17:05:24 +0000 | |
commit | 06ee6804dd5d1157a079e02d46abb6612571f21f (patch) | |
tree | 831cd82cc7cf6d493e6b5e9a7bf7d956733cf663 /src/emu/screen.h | |
parent | e870e8d7bce1bda126a3ea06391d587dc9b57f01 (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/screen.h')
-rw-r--r-- | src/emu/screen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/screen.h b/src/emu/screen.h index 1de260f8b08..863f27d98d2 100644 --- a/src/emu/screen.h +++ b/src/emu/screen.h @@ -125,7 +125,7 @@ public: private: // device_config overrides - virtual bool device_validity_check(core_options &options, const game_driver &driver) const; + virtual bool device_validity_check(emu_options &options, const game_driver &driver) const; // inline configuration data screen_type_enum m_type; // type of screen |