From 90ec162ff8ff949679974d7fd6405a240818bfd1 Mon Sep 17 00:00:00 2001 From: Michael Zapf Date: Mon, 4 Feb 2013 00:06:04 +0000 Subject: [PATCH] ti99: Changed some cartridge types (nw) --- hash/ti99_cart.xml | 4 ++-- src/mess/machine/ti99/gromport.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hash/ti99_cart.xml b/hash/ti99_cart.xml index eb05a779acb..526ccf812b9 100644 --- a/hash/ti99_cart.xml +++ b/hash/ti99_cart.xml @@ -1076,7 +1076,7 @@ <unknown> - + @@ -1195,7 +1195,7 @@ - + diff --git a/src/mess/machine/ti99/gromport.c b/src/mess/machine/ti99/gromport.c index e1b9c13cb33..1d26d6b6279 100644 --- a/src/mess/machine/ti99/gromport.c +++ b/src/mess/machine/ti99/gromport.c @@ -1840,6 +1840,7 @@ READ8Z_MEMBER(ti99_gromemu_cartridge::readz) gromemureadz(space, offset, value, mem_mask); else { + if (m_rom_ptr == NULL) return; if (m_rom_page==0) { *value = m_rom_ptr[offset & 0x1fff];