summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ql/std.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ql/std.cpp')
-rw-r--r--src/devices/bus/ql/std.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/ql/std.cpp b/src/devices/bus/ql/std.cpp
index b1171c46336..7524cc1693d 100644
--- a/src/devices/bus/ql/std.cpp
+++ b/src/devices/bus/ql/std.cpp
@@ -49,9 +49,9 @@ void ql_standard_rom_cartridge_device::device_start()
uint8_t ql_standard_rom_cartridge_device::read(offs_t offset, uint8_t data)
{
- if (m_romoeh && m_rom.bytes())
+ if (m_romoeh && m_rom)
{
- data = m_rom[offset & m_rom.mask()];
+ data = m_rom[offset];
}
return data;