mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
h8_intc.cpp: fix interpretation of IPR bits for the H8S CPUs. psr340 boots now. [R. Belmont]
This commit is contained in:
parent
9cc02b1fe1
commit
37f77a5162
@ -382,5 +382,5 @@ void h8s_intc_device::get_priority(int vect, int &icr_pri, int &ipr_pri) const
|
||||
}
|
||||
|
||||
icr_pri = (icr >> (slot ^ 7)) & 1;
|
||||
ipr_pri = (ipr[slot >> 1] >> (slot & 1 ? 4 : 0)) & 7;
|
||||
ipr_pri = (ipr[slot >> 1] >> (slot & 1 ? 0 : 4)) & 7;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user