summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/upd7220.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/upd7220.cpp')
-rw-r--r--src/devices/video/upd7220.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/upd7220.cpp b/src/devices/video/upd7220.cpp
index e80cef73745..cc892d66b33 100644
--- a/src/devices/video/upd7220.cpp
+++ b/src/devices/video/upd7220.cpp
@@ -653,9 +653,9 @@ upd7220_device::upd7220_device(const machine_config &mconfig, const char *tag, d
m_ra[i] = 0;
}
- for (int i = 0; i < 17; i++)
+ for (auto & elem : m_pr)
{
- m_pr[i] = 0;
+ elem = 0;
}
memset(&m_figs, 0x00, sizeof(m_figs));