ref: 168a867bfa878c26edfbc5547cf69d4333d73416
parent: 13b6db91928fea27f956cba68ee4169b7604a752
author: Olav Sørensen <olav.sorensen@live.no>
date: Fri Oct 14 13:50:25 EDT 2022
paulaSetPeriod minor edge-case fix
--- a/src/pt2_paula.c
+++ b/src/pt2_paula.c
@@ -31,7 +31,7 @@
int32_t realPeriod = period;
if (realPeriod == 0)
- realPeriod = 1+65535; // confirmed behavior on real Amiga
+ realPeriod = 65535; // On Amiga: period 0 = one full cycle with period 65536, then period 65535 for the rest
else if (realPeriod < 113)
realPeriod = 113; // close to what happens on real Amiga (and needed for BLEP synthesis)