summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/wd7600.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/wd7600.cpp')
-rw-r--r--src/devices/machine/wd7600.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/wd7600.cpp b/src/devices/machine/wd7600.cpp
index 26873553e14..63586c3d858 100644
--- a/src/devices/machine/wd7600.cpp
+++ b/src/devices/machine/wd7600.cpp
@@ -201,8 +201,8 @@ void wd7600_device::device_reset()
m_memory_ctrl = 0;
m_diagnostic = 0xe080;
- for(int x=0;x<4;x++)
- m_bank_start[x] = 0;
+ for(auto & elem : m_bank_start)
+ elem = 0;
// initialize dma controller clocks
m_dma1->set_unscaled_clock(clock());