eolith.cpp: fixed recent regression (nw)

This commit is contained in:
Ivan Vangelista 2018-03-12 16:26:39 +01:00 committed by GitHub
parent 69ea9be761
commit d861cab586
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@
WRITE16_MEMBER(eolith_state::eolith_vram_w)
{
if ((mem_mask == 0xffff) && (data & ~0x8000))
if ((mem_mask == 0xffff) && (~data & 0x8000))
{
// candy needs this to always write to RAM (verified that certain glitches, for example the high score table, don't occur on real hw)
// other games clearly don't.