mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
AUDIO: Add patch from madmoose to fix arpeggio effect in ProTracker modules.
This commit is contained in:
parent
6d08055db3
commit
f58be61a3d
@ -219,11 +219,10 @@ void ProtrackerStream::updateRow() {
|
||||
case 0x0:
|
||||
if (exy) {
|
||||
_track[track].arpeggio = true;
|
||||
if (note.period) {
|
||||
_track[track].arpeggioNotes[0] = note.note;
|
||||
_track[track].arpeggioNotes[1] = note.note + ex;
|
||||
_track[track].arpeggioNotes[2] = note.note + ey;
|
||||
}
|
||||
byte trackNote = _module.periodToNote(_track[track].period);
|
||||
_track[track].arpeggioNotes[0] = trackNote;
|
||||
_track[track].arpeggioNotes[1] = trackNote + ex;
|
||||
_track[track].arpeggioNotes[2] = trackNote + ey;
|
||||
}
|
||||
break;
|
||||
case 0x1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user