neogeo/ng_memcard.cpp: Register select only affects reads - writes always go to memory.

This commit is contained in:
Vas Crabb 2023-04-11 22:59:39 +10:00
parent c4a9a22eb1
commit 0cff597a87

View File

@ -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);
}