1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Adds some debugging `asserts.

This commit is contained in:
Thomas Harte
2020-01-29 22:45:44 -05:00
parent ee16095863
commit f9ce50d2bb
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -469,6 +469,7 @@ class ConcreteMachine:
length -= cycles_until_video_event_;
video_ += cycles_until_video_event_;
cycles_until_video_event_ = video_->get_next_sequence_point();
assert(cycles_until_video_event_ > HalfCycles(0));
mfp_->set_timer_event_input(1, video_->display_enabled());
update_interrupt_input();