mirror of
https://github.com/TomHarte/CLK.git
synced 2025-03-01 13:30:02 +00:00
Corrects interrupt mask generation.
This commit is contained in:
parent
f2f98ed60c
commit
7a2de47f58
@ -241,7 +241,7 @@ void MFP68901::reevaluate_gpip_interrupts() {
|
|||||||
if(new_interrupt_mask) {
|
if(new_interrupt_mask) {
|
||||||
begin_interrupts(
|
begin_interrupts(
|
||||||
(new_interrupt_mask & 0x0f) |
|
(new_interrupt_mask & 0x0f) |
|
||||||
((new_interrupt_mask & 0x03) << 2) |
|
((new_interrupt_mask & 0x30) << 2) |
|
||||||
((new_interrupt_mask & 0xc0) << 8)
|
((new_interrupt_mask & 0xc0) << 8)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user