commit 65356a7a59258839e2c91869a43fc76e547c3025
parent 62fa192dca04909fbd36afe0f72c9a5091891dce
Author: Olav Sørensen <olav.sorensen@live.no>
Date: Fri, 20 Dec 2024 21:59:36 +0100
Update ft2_nibbles.c
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ft2_nibbles.c b/src/ft2_nibbles.c
@@ -848,7 +848,7 @@ void nibblesPlay(void)
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]);