summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ioport.c
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2014-01-17 11:17:10 +0000
committer Nathan Woods <npwoods@mess.org>2014-01-17 11:17:10 +0000
commit9689355bb7cc68e390ee0477cf297130f058f267 (patch)
tree88227c4f2817b2b5f08ca9f63ec47bf41b9412c8 /src/emu/ioport.c
parent432a2d29f347befa7af9ddbb9fd61edd9c160e5a (diff)
More unglamourous changes (commenting, bool etc)
Diffstat (limited to 'src/emu/ioport.c')
-rw-r--r--src/emu/ioport.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emu/ioport.c b/src/emu/ioport.c
index 4aa531b29c5..0c966094de2 100644
--- a/src/emu/ioport.c
+++ b/src/emu/ioport.c
@@ -2692,7 +2692,6 @@ time_t ioport_manager::initialize()
if (ROMENTRY_ISSYSTEM_BIOS(rom)) { m_has_bioses= true; break; }
}
-
// open playback and record files if specified
time_t basetime = playback_init();
record_init();
@@ -2717,8 +2716,7 @@ void ioport_manager::init_port_types()
for (input_type_entry *curtype = first_type(); curtype != NULL; curtype = curtype->next())
{
// first copy all the OSD-updated sequences into our current state
- for (input_seq_type seqtype = SEQ_TYPE_STANDARD; seqtype < SEQ_TYPE_TOTAL; seqtype++)
- curtype->restore_default_seq();
+ curtype->restore_default_seq();
// also make a lookup table mapping type/player to the appropriate type list entry
m_type_to_entry[curtype->type()][curtype->player()] = curtype;