mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-18 01:30:56 +00:00
Reinstated whole-frame counting. Thereby to reinstate proper interrupts.
This commit is contained in:
parent
b58b11fc93
commit
0326316bb8
@ -251,6 +251,7 @@ void VideoOutput::output_pixels(unsigned int number_of_cycles)
|
|||||||
|
|
||||||
void VideoOutput::run_for_cycles(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)
|
while(number_of_cycles)
|
||||||
{
|
{
|
||||||
int draw_action_length = screen_map_[screen_map_pointer_].length;
|
int draw_action_length = screen_map_[screen_map_pointer_].length;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user