aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTravis Howell2008-04-03 23:41:24 +0000
committerTravis Howell2008-04-03 23:41:24 +0000
commit27a39e7f1237cbf876c95db6bd86553e311ed11c (patch)
tree5d98333c54ac86c7c6ce406906cde8c5e54f9c8e /sound
parent510a81bbd87dd95911e983edc6d331149f18d418 (diff)
downloadscummvm-rg350-27a39e7f1237cbf876c95db6bd86553e311ed11c.tar.gz
scummvm-rg350-27a39e7f1237cbf876c95db6bd86553e311ed11c.tar.bz2
scummvm-rg350-27a39e7f1237cbf876c95db6bd86553e311ed11c.zip
Add cyx patch for bug #1915657 - ELVIRA1: Amiga crashes (paula.h:108).
svn-id: r31372
Diffstat (limited to 'sound')
-rw-r--r--sound/mods/protracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/mods/protracker.cpp b/sound/mods/protracker.cpp
index f40b61ad09..d645e3cd0e 100644
--- a/sound/mods/protracker.cpp
+++ b/sound/mods/protracker.cpp
@@ -448,8 +448,8 @@ void ProtrackerStream::interrupt(void) {
sample.data,
sample.replen > 2 ? sample.data + sample.repeat : 0,
sample.len,
- sample.replen,
- _track[track].offset);
+ sample.replen);
+ setChannelOffset(track, _track[track].offset);
_track[track].sample = 0;
}
}