mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
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
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:
parent
d30eccf707
commit
325644fe00
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user