diff options
author | 2021-07-15 04:09:18 +1000 | |
---|---|---|
committer | 2021-07-15 13:54:40 +1000 | |
commit | 37157461313b13a691722b83c87df8d2315457da (patch) | |
tree | 8034c6f33776f5a8bfc8f6c69af879975061bd0a /src/frontend/mame/infoxml.cpp | |
parent | 66554d3b84f5fec60dcf5d896283a1a04487c0e0 (diff) |
API cleanups and miscellaneous fixes.
emu/ioport.cpp: Allow controller files to override input sequences for
inputs that don't use defaults, and to override the toggle setting for
digital inputs.
emu/config.cpp: Expose configuration level (mostly matters for
controller files), improved verbose diagnostic messages, and moved a few
things out of the global and preprocessor namespaces.
docs: Added documentation for some controller configuration file
features. The device mapping feature documentation will be merged in at
some point.
util/unicode.cpp, emu/input.cpp: API cleanups.
Diffstat (limited to 'src/frontend/mame/infoxml.cpp')
-rw-r--r-- | src/frontend/mame/infoxml.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/infoxml.cpp b/src/frontend/mame/infoxml.cpp index d16aa3eef8c..276a2d308ef 100644 --- a/src/frontend/mame/infoxml.cpp +++ b/src/frontend/mame/infoxml.cpp @@ -548,7 +548,7 @@ void output_header(std::ostream &out, bool dtd) "\" mameconfig=\"%d\">\n", XML_ROOT, normalize_string(emulator_info::get_build_version()), - CONFIG_VERSION); + configuration_manager::CONFIG_VERSION); } @@ -1269,7 +1269,7 @@ void output_input(std::ostream &out, const ioport_list &portlist) { int ctrl_type = CTRL_DIGITAL_BUTTONS; bool ctrl_analog = false; - for (ioport_field &field : port.second->fields()) + for (ioport_field const &field : port.second->fields()) { // track the highest player number if (nplayer < field.player() + 1) |