summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/validity.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2018-04-03 11:57:55 +0100
committer smf- <smf-@users.noreply.github.com>2018-04-03 11:58:48 +0100
commit5336bb02b665ad9d9b996146728196252107fd66 (patch)
tree6b2f6aecbb9221185fcaa5a47a945de268f61c54 /src/emu/validity.cpp
parent63026947dd4e1f581475a908469aa915f0b94746 (diff)
Standardise on IPT_CUSTOM for hooking up custom code in PORT_BIT, leaving IPT_SPECIAL for the UI. [smf]
Diffstat (limited to 'src/emu/validity.cpp')
-rw-r--r--src/emu/validity.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/validity.cpp b/src/emu/validity.cpp
index c47604448bf..b16426a3675 100644
--- a/src/emu/validity.cpp
+++ b/src/emu/validity.cpp
@@ -1845,6 +1845,9 @@ void validity_checker::validate_inputs()
if (field.type() == IPT_INVALID)
osd_printf_error("Field has an invalid type (0); use IPT_OTHER instead\n");
+ if (field.type() == IPT_SPECIAL)
+ osd_printf_error("Field has an invalid type IPT_SPECIAL\n");
+
// verify dip switches
if (field.type() == IPT_DIPSWITCH)
{