mirror of
https://github.com/holub/mame
synced 2025-05-25 07:15:25 +03:00
mcr, mcr3: fixed memory regressions.
This commit is contained in:
parent
2e8a87393b
commit
d46955ca65
@ -131,7 +131,7 @@ WRITE8_MEMBER(midway_ssio_device::ioport_write)
|
||||
{
|
||||
int which = offset >> 2;
|
||||
if (!m_custom_output[which].isnull())
|
||||
m_custom_output[which](space, offset, data & m_custom_output_mask[which], 0xff);
|
||||
m_custom_output[which](space, offset & 4, data & m_custom_output_mask[which], 0xff);
|
||||
}
|
||||
|
||||
|
||||
|
@ -282,7 +282,7 @@ private:
|
||||
#define SSIO_INPUT_PORTS(ssio) \
|
||||
AM_RANGE(0x00, 0x04) AM_MIRROR(0x18) AM_DEVREAD(ssio, midway_ssio_device, ioport_read) \
|
||||
AM_RANGE(0x07, 0x07) AM_MIRROR(0x18) AM_DEVREAD(ssio, midway_ssio_device, read) \
|
||||
AM_RANGE(0x00, 0x07) AM_MIRROR(0x03) AM_DEVWRITE(ssio, midway_ssio_device, ioport_write) \
|
||||
AM_RANGE(0x00, 0x07) AM_DEVWRITE(ssio, midway_ssio_device, ioport_write) \
|
||||
AM_RANGE(0x1c, 0x1f) AM_DEVWRITE(ssio, midway_ssio_device, write)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user