diff options
Diffstat (limited to 'src/devices/machine/rtc9701.cpp')
-rw-r--r-- | src/devices/machine/rtc9701.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/rtc9701.cpp b/src/devices/machine/rtc9701.cpp index ee7cff625c7..7c92ddc53e7 100644 --- a/src/devices/machine/rtc9701.cpp +++ b/src/devices/machine/rtc9701.cpp @@ -129,8 +129,8 @@ void rtc9701_device::device_reset() void rtc9701_device::nvram_default() { - for (offs_t offs = 0; offs < 0x100; offs++) - rtc9701_data[offs] = 0xffff; + for (auto & elem : rtc9701_data) + elem = 0xffff; } |