konami/hcastle.cpp: fix missing return. [R. Belmont]

This commit is contained in:
arbee 2023-05-06 13:32:46 -04:00
parent 6d8e386281
commit e734b22b6d

View File

@ -318,6 +318,7 @@ void hcastle_state::workram_w(offs_t offset, uint8_t data)
if (BIT(m_control, 5))
{
m_workram[(offset & 0x7ff) | 0x800] = data;
return;
}
m_workram[offset & 0x7ff] = data;