AY8930: increase pitch macro range to 65535
This commit is contained in:
parent
5df68c2ee8
commit
9af1ce84df
|
@ -270,7 +270,7 @@ void DivPlatformAY8930::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,-32768,32767);
|
||||
CLAMP_VAR(chan[i].pitch2,-65535,65535);
|
||||
} else {
|
||||
chan[i].pitch2=chan[i].std.pitch.val;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue