summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/m6m80011ap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/m6m80011ap.cpp')
-rw-r--r--src/devices/machine/m6m80011ap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/m6m80011ap.cpp b/src/devices/machine/m6m80011ap.cpp
index 39fbd526235..a8dea68d6ef 100644
--- a/src/devices/machine/m6m80011ap.cpp
+++ b/src/devices/machine/m6m80011ap.cpp
@@ -68,8 +68,8 @@ void m6m80011ap_device::device_reset()
void m6m80011ap_device::nvram_default()
{
- for (offs_t offs = 0; offs < 0x80; offs++)
- m_eeprom_data[offs] = 0xffff;
+ for (auto & elem : m_eeprom_data)
+ elem = 0xffff;
}