summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/antic.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/antic.cpp')
-rw-r--r--src/mame/video/antic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/antic.cpp b/src/mame/video/antic.cpp
index 1a8979abf6a..b01b7ba259e 100644
--- a/src/mame/video/antic.cpp
+++ b/src/mame/video/antic.cpp
@@ -96,8 +96,8 @@ void antic_device::device_start()
LOG(("atari cclk_init\n"));
cclk_init();
- for (int i = 0; i < 64; i++)
- m_prio_table[i] = auto_alloc_array_clear(machine(), UINT8, 8*256);
+ for (auto & elem : m_prio_table)
+ elem = auto_alloc_array_clear(machine(), UINT8, 8*256);
LOG(("atari prio_init\n"));
prio_init();