increase range of relative pitch macro
-32768 to 32767 should be enough
This commit is contained in:
parent
3aa8ea3625
commit
82eaa45f5d
38 changed files with 38 additions and 38 deletions
|
|
@ -115,7 +115,7 @@ void DivPlatformYMZ280B::tick(bool sysTick) {
|
|||
if (chan[i].std.pitch.had) {
|
||||
if (chan[i].std.pitch.mode) {
|
||||
chan[i].pitch2+=chan[i].std.pitch.val;
|
||||
CLAMP_VAR(chan[i].pitch2,-2048,2048);
|
||||
CLAMP_VAR(chan[i].pitch2,-32768,32767);
|
||||
} else {
|
||||
chan[i].pitch2=chan[i].std.pitch.val;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue