1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-08-05 08:26:28 +00:00

This is how flags writes are supposed to work, it seems.

This commit is contained in:
Thomas Harte
2016-06-11 07:58:32 -04:00
parent 1054793fd7
commit de84758862

View File

@@ -85,7 +85,7 @@ template <class T> class MOS6522 {
// Interrupt control
case 0xd:
_registers.interrupt_flags = value; // TODO: really?
_registers.interrupt_flags &= ~value;
reevaluate_interrupts();
break;
case 0xe: