mirror of
https://github.com/holub/mame
synced 2025-06-14 08:26:57 +03:00
cpu16.cpp: Fix shift in get_xk
This commit is contained in:
parent
fa289ee99a
commit
aa73dfde73
@ -283,7 +283,7 @@ void cpu16_device::set_ix(int which, u16 value) noexcept
|
|||||||
|
|
||||||
u8 cpu16_device::get_xk(int which) const noexcept
|
u8 cpu16_device::get_xk(int which) const noexcept
|
||||||
{
|
{
|
||||||
return (m_index_regs[which] & 0xf0000) << 16;
|
return (m_index_regs[which] & 0xf0000) >> 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cpu16_device::set_xk(int which, u8 value) noexcept
|
void cpu16_device::set_xk(int which, u8 value) noexcept
|
||||||
|
Loading…
Reference in New Issue
Block a user