diff options
Diffstat (limited to 'src/devices/bus/nes/mmc5.cpp')
-rw-r--r-- | src/devices/bus/nes/mmc5.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/nes/mmc5.cpp b/src/devices/bus/nes/mmc5.cpp index c3a82e02c8e..4fcc50282d3 100644 --- a/src/devices/bus/nes/mmc5.cpp +++ b/src/devices/bus/nes/mmc5.cpp @@ -122,8 +122,8 @@ void nes_exrom_device::pcb_reset() m_ex1_bank = 0; m_vcount = 0; - for (int i = 0; i < 12; i++) - m_vrom_bank[i] = 0x3ff; + for (auto & elem : m_vrom_bank) + elem = 0x3ff; m_prg_regs[0] = 0xfc; m_prg_regs[1] = 0xfd; |