mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-21 02:17:08 +00:00
Adds a bunch of consts.
This commit is contained in:
@@ -71,7 +71,7 @@ bool Drive::has_disk() const {
|
||||
return has_disk_;
|
||||
}
|
||||
|
||||
ClockingHint::Preference Drive::preferred_clocking() {
|
||||
ClockingHint::Preference Drive::preferred_clocking() const {
|
||||
return (!has_disk_ || (time_until_motor_transition == Cycles(0) && !disk_is_rotating_)) ? ClockingHint::Preference::None : ClockingHint::Preference::JustInTime;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user