diff options
Diffstat (limited to 'src/devices/machine/z8536.cpp')
-rw-r--r-- | src/devices/machine/z8536.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/z8536.cpp b/src/devices/machine/z8536.cpp index fc5e770b15a..60d5e46f05f 100644 --- a/src/devices/machine/z8536.cpp +++ b/src/devices/machine/z8536.cpp @@ -905,9 +905,9 @@ void z8536_device::device_reset() { m_state = STATE_RESET; - for (int i = 0; i < 48; i++) + for (auto & elem : m_register) { - m_register[i] = 0; + elem = 0; } m_register[MASTER_INTERRUPT_CONTROL] = MICR_RESET; |