ref: 65356a7a59258839e2c91869a43fc76e547c3025
parent: 62fa192dca04909fbd36afe0f72c9a5091891dce
author: Olav Sørensen <olav.sorensen@live.no>
date: Fri Dec 20 17:00:03 EST 2024
Update ft2_nibbles.c
--- a/src/ft2_nibbles.c
+++ b/src/ft2_nibbles.c
@@ -848,7 +848,7 @@
assert(config.NI_Speed < 4);
NI_CurSpeed = NI_Speeds[config.NI_Speed];
- // adjust for 70Hz -> 60Hz frames
+ // adjust for 70Hz -> 60Hz frames (this is not exact, but we don't want fractional numbers aka. frame skipping)
NI_CurSpeed60Hz = (uint8_t)SCALE_VBLANK_DELTA(NI_CurSpeed);
NI_CurTick60Hz = (uint8_t)SCALE_VBLANK_DELTA(NI_Speeds[2]);
--
⑨