diff options
Diffstat (limited to 'src/devices/video/hd66421.cpp')
-rw-r--r-- | src/devices/video/hd66421.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/hd66421.cpp b/src/devices/video/hd66421.cpp index 1eda616225c..513b028336f 100644 --- a/src/devices/video/hd66421.cpp +++ b/src/devices/video/hd66421.cpp @@ -125,9 +125,9 @@ hd66421_device::hd66421_device(const machine_config &mconfig, const char *tag, d m_y(0), m_palette(*this, "palette") { - for (int i = 0; i < 32; i++) + for (auto & elem : m_reg) { - m_reg[i] = 0; + elem = 0; } } |