1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-23 20:29:42 +00:00

Keep as regular int.

This commit is contained in:
Thomas Harte 2023-12-24 14:16:12 -05:00
parent 13631fb7bc
commit bf9743cb38

View File

@ -920,7 +920,7 @@ class ConcreteMachine:
// MARK: - TimedMachine.
void run_for(const Cycles duration) override {
const auto pit_ticks = duration.as_integral();
const auto pit_ticks = duration.as<int>();
int ticks;
if constexpr (!turbo) {