mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-07 23:25:00 +00:00
Fixed: setting an interrupt control value with the lowest bit set could result in interrupts that can't be disabled.
This commit is contained in:
@@ -116,7 +116,7 @@ unsigned int Machine::perform_bus_operation(CPU6502::BusOperation operation, uin
|
||||
}
|
||||
else
|
||||
{
|
||||
_interrupt_control = *value;
|
||||
_interrupt_control = (*value) & ~1;
|
||||
evaluate_interrupts();
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user