1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Reduces space for floating point accuracy errors.

This commit is contained in:
Thomas Harte 2018-06-16 22:22:40 -04:00
parent 83a654540a
commit 6a3702a5c7

View File

@ -584,7 +584,7 @@ class ConcreteMachine:
}
// Update analogue charge level.
analogue_charge_ = std::min(analogue_charge_ + 1.0f / 2820.0f, 1.0f);
analogue_charge_ = std::min(analogue_charge_ + 1.0f / 2820.0f, 1.1f);
return Cycles(1);
}