change spectrum 128 code to match comment [smf]

This commit is contained in:
smf- 2022-05-22 10:08:23 +01:00 committed by Vas Crabb
parent 3984f8f883
commit cecbe8e906

View File

@ -327,7 +327,7 @@ bool spectrum_128_state::is_vram_write(offs_t offset) {
bool spectrum_128_state::is_contended(offs_t offset) {
u8 bank = m_bank_ram[3]->entry();
return spectrum_state::is_contended(offset)
|| ((offset >= 0xc000 && offset <= 0xffff) && (bank && 1)); // Memory banks 1,3,5 and 7 are contended
|| ((offset >= 0xc000 && offset <= 0xffff) && (bank & 1)); // Memory banks 1,3,5 and 7 are contended
}
static const gfx_layout spectrum_charlayout =