summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/odyssey2/chess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/odyssey2/chess.cpp')
-rw-r--r--src/devices/bus/odyssey2/chess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/odyssey2/chess.cpp b/src/devices/bus/odyssey2/chess.cpp
index 6ff1ff76dd2..9f687c72cd6 100644
--- a/src/devices/bus/odyssey2/chess.cpp
+++ b/src/devices/bus/odyssey2/chess.cpp
@@ -35,7 +35,7 @@ void o2_chess_device::device_start()
void o2_chess_device::cart_init()
{
- if (m_rom.bytes() != 0x800 || !m_exrom || m_exrom.bytes() != 0x2000)
+ if (m_rom_size != 0x800 || m_exrom_size != 0x2000)
fatalerror("o2_chess_device: Wrong ROM region size\n");
}