Fix build

This commit is contained in:
cam900 2022-04-28 23:58:35 +09:00
parent eb3baabc1d
commit d0c55e4951
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ void DivPlatformES5506::tick(bool sysTick) {
if (chan[i].std.pitch.had) {
if (chan[i].std.pitch.mode) {
chan[i].pitch2+=chan[i].std.pitch.val;
CLAMP_VAL(chan[i].pitch2,-2048,2048);
CLAMP_VAR(chan[i].pitch2,-2048,2048);
} else {
chan[i].pitch2=chan[i].std.pitch.val;
}