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:
parent
83a654540a
commit
6a3702a5c7
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user