summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cops.cpp')
-rw-r--r--src/mame/drivers/cops.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/cops.cpp b/src/mame/drivers/cops.cpp
index eb156f80377..8fd5dcfcd70 100644
--- a/src/mame/drivers/cops.cpp
+++ b/src/mame/drivers/cops.cpp
@@ -330,9 +330,9 @@ void cops_state::laserdisc_w(UINT8 data)
laserdisc_response_w(0x0a);
break;
case 0x60: /* Addr Inq (get current frame number) */
- for ( int i = 0; i < 5; i++ )
+ for (auto & elem : m_ld_frame)
{
- laserdisc_response_w(m_ld_frame[i]);
+ laserdisc_response_w(elem);
}
break;
case 0x80: /* text start */