mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-15 14:27:29 +00:00
Reduces space for floating point accuracy errors.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user