1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-04 18:29:40 +00:00

Resolves specious interrupts.dic

This commit is contained in:
Thomas Harte 2020-11-05 20:51:00 -05:00
parent 282d0f1ebb
commit 6c9edbb7a2

View File

@ -83,6 +83,6 @@ void VideoBase::notify_clock_tick() {
void VideoBase::set_interrupts(uint8_t new_value) {
interrupts_ = new_value & 0x7f;
if((interrupts_ >> 4) & 0x6)
if((interrupts_ >> 4) & interrupts_ & 0x6)
interrupts_ |= 0x80;
}