summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/cdi070.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/cdi070.cpp')
-rw-r--r--src/mame/machine/cdi070.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/cdi070.cpp b/src/mame/machine/cdi070.cpp
index 36b41333b7d..cc8f377d76a 100644
--- a/src/mame/machine/cdi070.cpp
+++ b/src/mame/machine/cdi070.cpp
@@ -426,9 +426,9 @@ void cdi68070_device::mcu_frame()
{
quizard_calculate_state();
uart_rx(0x5a);
- for(int index = 0; index < 8; index++)
+ for(auto & elem : m_state)
{
- uart_rx(m_state[index]);
+ uart_rx(elem);
}
}
}