diff options
author | 2017-04-15 16:32:12 -0400 | |
---|---|---|
committer | 2017-04-15 22:32:12 +0200 | |
commit | 02ea4fd43cb42ffdbba6f87a93c03b697c426269 (patch) | |
tree | f04a48f239f0686fe711fbda5dc7e69a97d2b281 /src/lib/util/options.h | |
parent | c4b2aa746602b5896400bef928cf76c5d5c72e83 (diff) |
Fixes issues specifying image/slot options fron INI files (reported by Robbbert) (#2231)
This fix really doesn't go far enough. I added hooks so that options specified at the command line can also be responded to when parsed from INI files, but in the long run much of the logic that is currently in mame_options should go into emu_options so that when an option is specified, all of the wacko logic around slot/image specification "just works" because it is encapsulated within emu_options.
We have a release 11 days away; I want to be in stabilization mode.
Diffstat (limited to 'src/lib/util/options.h')
-rw-r--r-- | src/lib/util/options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/util/options.h b/src/lib/util/options.h index 47780652586..b2bc46343ac 100644 --- a/src/lib/util/options.h +++ b/src/lib/util/options.h @@ -182,6 +182,8 @@ public: protected: virtual void value_changed(const std::string &name, const std::string &value) {} + virtual bool override_get_value(const char *name, std::string &value) const { return false; } + virtual bool override_set_value(const char *name, const std::string &value) { return false; } private: // internal helpers |