summaryrefslogtreecommitdiffstats
path: root/src/devices/cpu/romp/romp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/romp/romp.cpp')
-rw-r--r--src/devices/cpu/romp/romp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/romp/romp.cpp b/src/devices/cpu/romp/romp.cpp
index 7f987b81e96..d68988cb876 100644
--- a/src/devices/cpu/romp/romp.cpp
+++ b/src/devices/cpu/romp/romp.cpp
@@ -63,7 +63,7 @@ void romp_device::device_start()
state_add(ROMP_SCR + ICS, "ICS", m_scr[ICS]);
state_add(ROMP_SCR + CS, "CS", m_scr[CS]);
- for (unsigned i = 0; i < ARRAY_LENGTH(m_gpr); i++)
+ for (unsigned i = 0; i < std::size(m_gpr); i++)
state_add(ROMP_GPR + i, util::string_format("R%d", i).c_str(), m_gpr[i]);
// register state for saving