From 1c0531633d8ed55fe811454bb1c9301d35fdaa0a Mon Sep 17 00:00:00 2001 From: Robbbert Date: Thu, 11 Feb 2021 03:41:08 +1100 Subject: [PATCH] pofo: if software not specified with -ccma rom, just run as normal --- src/devices/bus/pofo/rom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/bus/pofo/rom.cpp b/src/devices/bus/pofo/rom.cpp index ac336eb0b77..2e49c3df8dd 100644 --- a/src/devices/bus/pofo/rom.cpp +++ b/src/devices/bus/pofo/rom.cpp @@ -48,5 +48,5 @@ void portfolio_rom_card_device::device_start() uint8_t portfolio_rom_card_device::nrdi_r(offs_t offset) { - return m_rom[offset]; + return (m_rom) ? m_rom[offset] : 0xff; }