summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tc0360pri.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/tc0360pri.cpp')
-rw-r--r--src/mame/video/tc0360pri.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/tc0360pri.cpp b/src/mame/video/tc0360pri.cpp
index 43bf42ee1ef..e3620cb74ac 100644
--- a/src/mame/video/tc0360pri.cpp
+++ b/src/mame/video/tc0360pri.cpp
@@ -65,8 +65,8 @@ void tc0360pri_device::device_start()
void tc0360pri_device::device_reset()
{
- for (int i = 0; i < 16; i++)
- m_regs[i] = 0;
+ for (auto & elem : m_regs)
+ elem = 0;
}