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:
@@ -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_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user