1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 01:31:42 +00:00

Reinstated whole-frame counting. Thereby to reinstate proper interrupts.

This commit is contained in:
Thomas Harte 2016-12-15 18:09:49 -05:00
parent b58b11fc93
commit 0326316bb8

View File

@ -251,6 +251,7 @@ void VideoOutput::output_pixels(unsigned int number_of_cycles)
void VideoOutput::run_for_cycles(int number_of_cycles)
{
output_position_ = (output_position_ + number_of_cycles) % cycles_per_frame;
while(number_of_cycles)
{
int draw_action_length = screen_map_[screen_map_pointer_].length;