diff options
Diffstat (limited to 'src/devices/video/tms9928a.cpp')
-rw-r--r-- | src/devices/video/tms9928a.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/tms9928a.cpp b/src/devices/video/tms9928a.cpp index 7fd22263776..ba7a40a4b6e 100644 --- a/src/devices/video/tms9928a.cpp +++ b/src/devices/video/tms9928a.cpp @@ -709,8 +709,8 @@ void tms9928a_device::device_start() void tms9928a_device::device_reset() { - for ( int i = 0; i < 8; i++ ) - m_Regs[i] = 0; + for (auto & elem : m_Regs) + elem = 0; m_StatusReg = 0; m_FifthSprite = 31; |