mirror of
https://github.com/TomHarte/CLK.git
synced 2025-07-24 07:24:13 +00:00
Standardises on const [Half]Cycles
as the thing called and returned, rather than const [Half]Cycles &
as it's explicitly defined to be only one int
in size, so using a reference is overly weighty.
This commit is contained in:
@@ -40,7 +40,7 @@ void Controller::setup_track() {
|
||||
get_next_event(offset);
|
||||
}
|
||||
|
||||
void Controller::run_for(const Cycles &cycles) {
|
||||
void Controller::run_for(const Cycles cycles) {
|
||||
Time zero(0);
|
||||
|
||||
if(drive_ && drive_->has_disk() && motor_is_on_) {
|
||||
|
Reference in New Issue
Block a user