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

Adds responsibility for an ongoing index pulse to the drive.

This commit is contained in:
Thomas Harte
2019-12-24 20:53:37 -05:00
parent 42926e72cc
commit dfa6b11737
5 changed files with 38 additions and 26 deletions
+2 -2
View File
@@ -46,11 +46,11 @@ void TimedEventLoop::run_for(const Cycles cycles) {
assert(cycles_until_event_ > 0);
}
Cycles::IntType TimedEventLoop::get_cycles_until_next_event() {
Cycles::IntType TimedEventLoop::get_cycles_until_next_event() const {
return std::max(cycles_until_event_, Cycles::IntType(0));
}
Cycles::IntType TimedEventLoop::get_input_clock_rate() {
Cycles::IntType TimedEventLoop::get_input_clock_rate() const {
return input_clock_rate_;
}