1
0
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:
Thomas Harte
2020-05-09 21:22:51 -04:00
parent 5c1ae40a9c
commit 31c6faf3c8
35 changed files with 65 additions and 66 deletions
+1 -1
View File
@@ -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;
}