diff options
Diffstat (limited to 'src/emu/ioport.cpp')
-rw-r--r-- | src/emu/ioport.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/emu/ioport.cpp b/src/emu/ioport.cpp index 971aa51080f..e0e8e76015d 100644 --- a/src/emu/ioport.cpp +++ b/src/emu/ioport.cpp @@ -1542,10 +1542,6 @@ const input_seq &ioport_field::seq(input_seq_type seqtype) const if (m_live == nullptr) return defseq(seqtype); - // if the field is disabled, return no key - if (unused()) - return input_seq::empty_seq; - // if the sequence is the special default code, return the expanded default value if (m_live->seq[seqtype].is_default()) return manager().type_seq(m_type, m_player, seqtype); @@ -1562,10 +1558,6 @@ const input_seq &ioport_field::seq(input_seq_type seqtype) const const input_seq &ioport_field::defseq(input_seq_type seqtype) const { - // if the field is disabled, return no key - if (unused()) - return input_seq::empty_seq; - // if the sequence is the special default code, return the expanded default value if (m_seq[seqtype].is_default()) return manager().type_seq(m_type, m_player, seqtype); |