summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/a2600.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/a2600.cpp')
-rw-r--r--src/mame/drivers/a2600.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/a2600.cpp b/src/mame/drivers/a2600.cpp
index 4ccc07a7ab9..485a7607929 100644
--- a/src/mame/drivers/a2600.cpp
+++ b/src/mame/drivers/a2600.cpp
@@ -226,7 +226,7 @@ static const rectangle visarea[4] = {
void a2600_base_state::a2600_tia_vsync_callback(uint16_t data)
{
- for ( int i = 0; i < ARRAY_LENGTH(supported_screen_heights); i++ )
+ for ( int i = 0; i < std::size(supported_screen_heights); i++ )
{
if ( data >= supported_screen_heights[i] - 3 && data <= supported_screen_heights[i] + 3 )
{
@@ -241,7 +241,7 @@ void a2600_base_state::a2600_tia_vsync_callback(uint16_t data)
void a2600_base_state::a2600_tia_vsync_callback_pal(uint16_t data)
{
- for ( int i = 0; i < ARRAY_LENGTH(supported_screen_heights); i++ )
+ for ( int i = 0; i < std::size(supported_screen_heights); i++ )
{
if ( data >= supported_screen_heights[i] - 3 && data <= supported_screen_heights[i] + 3 )
{