mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-25 18:30:21 +00:00
Minor tweak: don't start counting phase from zero.
This should ensure no first pixel issues resulting from clamping.
This commit is contained in:
parent
6b4f6971de
commit
db078c7363
@ -235,6 +235,7 @@ void CRT::advance_cycles(int number_of_cycles, bool hsync_requested, bool vsync_
|
||||
// This is unnecessary, strictly speaking, but seeks to help ScanTargets fit as
|
||||
// much as possible into a fixed range.
|
||||
phase_numerator_ %= phase_denominator_;
|
||||
if(!phase_numerator_) phase_numerator_ += phase_denominator_;
|
||||
}
|
||||
|
||||
// Announce event.
|
||||
|
Loading…
Reference in New Issue
Block a user