summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-12-27 15:34:58 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-12-27 15:35:01 -0500
commit88ec765af5e47332d68893fbaa870cd0d9bc4da3 (patch)
tree79b22616941c8f0564e74e9b862f3af31eea0eb2
parent663106f2b7b8e644ba70fa05f70fdc75e64fe98c (diff)
jaguar.cpp: Fix 68020 Cojag games (nw)
-rw-r--r--src/mame/drivers/jaguar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/jaguar.cpp b/src/mame/drivers/jaguar.cpp
index 4d8dc94383e..802d1684d57 100644
--- a/src/mame/drivers/jaguar.cpp
+++ b/src/mame/drivers/jaguar.cpp
@@ -1393,7 +1393,7 @@ void jaguar_state::m68020_map(address_map &map)
map(0xf03000, 0xf03fff).mirror(0x008000).ram().share("gpuram");
map(0xf10000, 0xf103ff).rw(FUNC(jaguar_state::jerry_regs_r), FUNC(jaguar_state::jerry_regs_w));
map(0xf16000, 0xf1600b).r(FUNC(jaguar_state::cojag_gun_input_r)); // GPI02
- map(0xf17000, 0xf17003).portr("SYSTEM"); // GPI03
+ map(0xf17000, 0xf17003).lr16("f17000", [this]() { return uint16_t(m_system->read()); }); // GPI03
// AM_RANGE(0xf17800, 0xf17803) AM_WRITE(latch_w) // GPI04
map(0xf17c00, 0xf17c03).portr("P1_P2"); // GPI05
map(0xf1a100, 0xf1a13f).rw(FUNC(jaguar_state::dspctrl_r), FUNC(jaguar_state::dspctrl_w));