diff --git a/Components/6522/6522.hpp b/Components/6522/6522.hpp index 78c1508cc..4a42f4c10 100644 --- a/Components/6522/6522.hpp +++ b/Components/6522/6522.hpp @@ -85,7 +85,7 @@ template class MOS6522 { // Interrupt control case 0xd: - _registers.interrupt_flags = value; // TODO: really? + _registers.interrupt_flags &= ~value; reevaluate_interrupts(); break; case 0xe: