mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
neogeo/ng_memcard.cpp: Register select only affects reads - writes always go to memory.
This commit is contained in:
parent
c4a9a22eb1
commit
0cff597a87
@ -102,7 +102,7 @@ uint16_t ng_memcard_device::read(offs_t offset)
|
||||
|
||||
void ng_memcard_device::write(offs_t offset, uint16_t data)
|
||||
{
|
||||
if (m_regsel && !m_lock1 && m_unlock2)
|
||||
if (!m_lock1 && m_unlock2)
|
||||
m_memcard_data[offset & 0x07ff] = uint8_t(data & 0x00ff);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user