OPN: increase range of pitch2
This commit is contained in:
parent
99f2901ed6
commit
2c182334d7
10 changed files with 10 additions and 10 deletions
|
|
@ -431,7 +431,7 @@ void DivPlatformYM2610BExt::tick(bool sysTick) {
|
|||
if (opChan[i].std.pitch.had) {
|
||||
if (opChan[i].std.pitch.mode) {
|
||||
opChan[i].pitch2+=opChan[i].std.pitch.val;
|
||||
CLAMP_VAR(opChan[i].pitch2,-32768,32767);
|
||||
CLAMP_VAR(opChan[i].pitch2,-1048576,1048575);
|
||||
} else {
|
||||
opChan[i].pitch2=opChan[i].std.pitch.val;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue