mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
cpu/vt61: Fix scratchpad addressing mistake
This commit is contained in:
parent
574daf4e49
commit
6b41ddd4f3
@ -127,7 +127,7 @@ u8 vt61_cpu_device::get_db(u16 i)
|
||||
// SEL SPM
|
||||
u8 addr = bitswap<4>(i, 5, 4, 3, 7);
|
||||
if (BIT(i, 6))
|
||||
addr = (addr & 014) | m_ir;
|
||||
addr = (addr & 011) | (m_ir << 1);
|
||||
return m_sp[addr];
|
||||
}
|
||||
else switch (BIT(i, 7, 4))
|
||||
|
Loading…
Reference in New Issue
Block a user