aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-09-09 12:36:41 +0000
committerMax Horn2003-09-09 12:36:41 +0000
commit555dae9feeaaf2559dfe4c9fb4fb5dbcb19404c0 (patch)
tree789592bc38f3f4d389c58022d3d0231f055156c6
parent2c67f7b32fbcdfe78b28da5a13a03d16c558d3d7 (diff)
downloadscummvm-rg350-555dae9feeaaf2559dfe4c9fb4fb5dbcb19404c0.tar.gz
scummvm-rg350-555dae9feeaaf2559dfe4c9fb4fb5dbcb19404c0.tar.bz2
scummvm-rg350-555dae9feeaaf2559dfe4c9fb4fb5dbcb19404c0.zip
map 0xA5 to 11025 Hz, too
svn-id: r10129
-rw-r--r--sound/voc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/voc.h b/sound/voc.h
index 285611459c..b516575f54 100644
--- a/sound/voc.h
+++ b/sound/voc.h
@@ -50,7 +50,7 @@ struct VocBlockHeader {
static inline int getSampleRateFromVOCRate(int vocSR) {
- if (vocSR == 0xa6) {
+ if (vocSR == 0xa5 || vocSR == 0xa6) {
return 11025;
} else if (vocSR == 0xd2 || vocSR == 0xd3) {
return 22050;