mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-19 23:32:28 +00:00
Merge branch 'LessACIAState'
This commit is contained in:
commit
4ec8fa0d20
@ -302,7 +302,7 @@ void MFP68901::update_interrupts() {
|
|||||||
// Software interrupt mode: permit only if neither this interrupt
|
// Software interrupt mode: permit only if neither this interrupt
|
||||||
// nor a higher interrupt is currently in service.
|
// nor a higher interrupt is currently in service.
|
||||||
const int highest_bit = msb16(firing_interrupts);
|
const int highest_bit = msb16(firing_interrupts);
|
||||||
interrupt_line_ = !(interrupt_in_service_ & ~(highest_bit - 1));
|
interrupt_line_ = !(interrupt_in_service_ & ~(highest_bit + highest_bit - 1));
|
||||||
} else {
|
} else {
|
||||||
// Auto-interrupt mode; just signal.
|
// Auto-interrupt mode; just signal.
|
||||||
interrupt_line_ = true;
|
interrupt_line_ = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user