From af70c97d82fab56a40d01a35c1063ca0268948d8 Mon Sep 17 00:00:00 2001 From: angelosa Date: Mon, 11 Sep 2023 01:44:49 +0200 Subject: [PATCH] capcom/alien.cpp: fix mem_mask size on I/O in1 --- hash/pc98.xml | 5 ++++- src/mame/capcom/alien.cpp | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hash/pc98.xml b/hash/pc98.xml index 2a50b289bc7..424ae097f6b 100644 --- a/hash/pc98.xml +++ b/hash/pc98.xml @@ -66650,11 +66650,14 @@ doujin?!? - Five Gals Connection 19?? <doujin> + diff --git a/src/mame/capcom/alien.cpp b/src/mame/capcom/alien.cpp index f9f7967c159..a5156b833ac 100644 --- a/src/mame/capcom/alien.cpp +++ b/src/mame/capcom/alien.cpp @@ -184,7 +184,7 @@ void alien_state::alien_map(address_map &map) map(0x08000000, 0x08000007).portr("DSW"); // wontame at least map(0x08800000, 0x08800001).lr16( - NAME([this] (offs_t offset, u32 mem_mask) { + NAME([this] (offs_t offset, u16 mem_mask) { return m_io_in1->read(); }) );