summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/lib
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-11-21 16:07:04 +1100
committer Vas Crabb <vas@vastheman.com>2019-11-21 16:07:04 +1100
commiteaf07fffa33296500c4a6d35bf64a9098ca35fc0 (patch)
treef4d699a1de44c4a01d23120512f17debd6afd975 /src/osd/modules/lib
parent0ec88f2ff75fcc65191c0c89ad47f635ebb8c51a (diff)
UI input menu: treat codes containing a postive and negative of the same thing as invalid (e.g. A S not A)
ioport.cpp: * better than 50% reduction in compile time, and better locality for static data * better encapsulation, const correctness and noexcept usage
Diffstat (limited to 'src/osd/modules/lib')
-rw-r--r--src/osd/modules/lib/osdobj_common.cpp2
-rw-r--r--src/osd/modules/lib/osdobj_common.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/modules/lib/osdobj_common.cpp b/src/osd/modules/lib/osdobj_common.cpp
index 3cba4c81cfb..8e284eba055 100644
--- a/src/osd/modules/lib/osdobj_common.cpp
+++ b/src/osd/modules/lib/osdobj_common.cpp
@@ -564,7 +564,7 @@ void osd_common_t::set_mastervolume(int attenuation)
// additions/modifications to the input list
//-------------------------------------------------
-void osd_common_t::customize_input_type_list(simple_list<input_type_entry> &typelist)
+void osd_common_t::customize_input_type_list(std::vector<input_type_entry> &typelist)
{
//
// inptport.c defines some general purpose defaults for key and joystick bindings.
diff --git a/src/osd/modules/lib/osdobj_common.h b/src/osd/modules/lib/osdobj_common.h
index 4a377276855..9fb1b1eef6b 100644
--- a/src/osd/modules/lib/osdobj_common.h
+++ b/src/osd/modules/lib/osdobj_common.h
@@ -204,7 +204,7 @@ public:
virtual bool no_sound() override;
// input overridables
- virtual void customize_input_type_list(simple_list<input_type_entry> &typelist) override;
+ virtual void customize_input_type_list(std::vector<input_type_entry> &typelist) override;
// video overridables
virtual void add_audio_to_recording(const int16_t *buffer, int samples_this_frame) override;