summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/superfx/superfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/superfx/superfx.cpp')
-rw-r--r--src/devices/cpu/superfx/superfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/superfx/superfx.cpp b/src/devices/cpu/superfx/superfx.cpp
index ecdae33a1b0..eb5f04278d3 100644
--- a/src/devices/cpu/superfx/superfx.cpp
+++ b/src/devices/cpu/superfx/superfx.cpp
@@ -573,9 +573,9 @@ void superfx_device::add_clocks(INT32 clocks)
void superfx_device::device_start()
{
- for(int i = 0; i < 16; i++)
+ for(auto & elem : m_r)
{
- m_r[i] = 0;
+ elem = 0;
}
m_sfr = 0;