1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Fixed timer clearing tet.

This commit is contained in:
Thomas Harte 2017-08-03 21:30:04 -04:00
parent 33ed27c3ad
commit e71eabedf9

View File

@ -541,7 +541,7 @@ class ConcreteMachine:
read_pointers_[3] = (*cycle.value & 8) ? &ram_[49152] : basic_.data(); read_pointers_[3] = (*cycle.value & 8) ? &ram_[49152] : basic_.data();
// Reset the interrupt timer if requested. // Reset the interrupt timer if requested.
if(*cycle.value & 15) interrupt_timer_.reset_count(); if(*cycle.value & 0x10) interrupt_timer_.reset_count();
// Post the next mode. // Post the next mode.
crtc_bus_handler_.set_next_mode(*cycle.value & 3); crtc_bus_handler_.set_next_mode(*cycle.value & 3);