diff options
Diffstat (limited to 'src/devices/machine/intelfsh.cpp')
| -rw-r--r-- | src/devices/machine/intelfsh.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/intelfsh.cpp b/src/devices/machine/intelfsh.cpp index 88e3cdddec8..fcc24af7904 100644 --- a/src/devices/machine/intelfsh.cpp +++ b/src/devices/machine/intelfsh.cpp @@ -480,12 +480,12 @@ void intelfsh_device::nvram_default() if (m_bits == 8) { for (offs_t offs = 0; offs < bytes; offs++) - m_data[offs] = m_region->u8(offs); + m_data[offs] = m_region->as_u8(offs); } else { for (offs_t offs = 0; offs < bytes; offs += 2) { - uint16_t v = m_region->u16(offs / 2); + uint16_t v = m_region->as_u16(offs / 2); m_data[offs] = v >> 8; m_data[offs+1] = v; } |
