fix bank0 write condition
Some checks failed
CI (Linux) / build-linux (-U_FORTIFY_SOURCE, gcc, gcc, g++, mametiny, tiny) (push) Has been cancelled
CI (Linux) / build-linux (clang, clang, clang++, mame, mame) (push) Has been cancelled
CI (macOS) / build-macos (push) Has been cancelled
CI (Windows) / build-windows (clang, clang, clang++, mametiny, tiny) (push) Has been cancelled
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled

This commit is contained in:
Andrei Holub 2025-01-10 19:08:56 -05:00
parent d30eccf707
commit 325644fe00

View File

@ -391,7 +391,7 @@ void tsconf_state::ram_bank_write(u8 bank, offs_t offset, u8 data)
}
}
if (bank > 0 || (W0_WE && W0_RAM))
if (bank > 0 || W0_WE)
ram_page_write(m_regs[PAGE0 + bank], offset, data);
else if (!bank && m_beta->vdos_r())
ram_page_write(0xff, offset, data);