summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2011-06-10 17:26:17 +0000
committer Olivier Galibert <galibert@pobox.com>2011-06-10 17:26:17 +0000
commit3e62b314dfd5cdd066af9e007755288d78c2f151 (patch)
treee9931b0d1eb56c4938956d02face75b27b47596f
parent2749c957bc7160fa6fd3180fbefbea57e6287f2b (diff)
inptport: Disable the default sequence recognition for now. [O. Galibert]
Aaron, is that something not really implemented yet, or a remnant of the previous input system? The rest of the code is pretty much not able to cope with ITEM_ID_SEQ_DEFAULT, and disabling the recognition seems to just work.
-rw-r--r--src/emu/inptport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/emu/inptport.c b/src/emu/inptport.c
index c729aa9005f..92db333a104 100644
--- a/src/emu/inptport.c
+++ b/src/emu/inptport.c
@@ -1080,7 +1080,8 @@ void input_field_set_user_settings(const input_field_config *field, const input_
for (seqtype = 0; seqtype < ARRAY_LENGTH(settings->seq); seqtype++)
{
const input_seq &defseq = input_type_seq(field->machine(), field->type, field->player, (input_seq_type)seqtype);
- if (defseq == settings->seq[seqtype])
+ // TODO: find what the default_seq/ITEM_ID_SEQ_DEFAULT is supposed to do, besides crashing mame
+ if (false && defseq == settings->seq[seqtype])
field->state->seq[seqtype] = input_seq::default_seq;
else
field->state->seq[seqtype] = settings->seq[seqtype];