Time Is Fixed

This commit is contained in:
tildearrow 2025-02-07 04:20:18 -05:00
parent f09fd02971
commit 845c5245c3

View file

@ -1523,6 +1523,7 @@ int DivPlatformOPL::toFreq(int freq, int fixedBlock) {
block=freq/OPLL_C_NUM;
if (block>0) block=bsr(block);
}
if (block>7) block=7;
freq>>=block;
if (freq>0x3ff) freq=0x3ff;
return (block<<10)|freq;