aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamieson Christian2003-08-22 20:24:06 +0000
committerJamieson Christian2003-08-22 20:24:06 +0000
commit535b95fffccc7b2b6ee9f32673e50a45c17e2b30 (patch)
tree62c0f6057d22a31b8a83057b6cd4be9964696625
parent0649a8e30db7aa67f413e6d49d333a7f952f4021 (diff)
downloadscummvm-rg350-535b95fffccc7b2b6ee9f32673e50a45c17e2b30.tar.gz
scummvm-rg350-535b95fffccc7b2b6ee9f32673e50a45c17e2b30.tar.bz2
scummvm-rg350-535b95fffccc7b2b6ee9f32673e50a45c17e2b30.zip
Fixed tempo value for Indy3 AD resources. Despite
the comment in the source, the disasm value DOES sound closer to the original than the alternative value that came from who-knows-where. The value being used rendered too slow a tempo. svn-id: r9823
-rw-r--r--scumm/resource.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 4a2d47629a..9f8fd53d94 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -1081,10 +1081,7 @@ int Scumm::convertADResource(int type, int idx, byte * src_ptr, int size) {
// Unfortunate LOOM and INDY3 have different interpretation
// of the ticks value.
if (_gameId == GID_INDY3) {
- // From my disassembly this would be correct:
- // dw = 1000000 * 256 / 473 * ppqn / 2 / ticks;
- // But this seems closer to original???
- dw = 73000000 * 2 / ticks;
+ dw = 1000000 * 256 / 473 * ppqn / 2 / ticks;
} else if (_gameId == GID_LOOM) {
dw = 1000000 * ppqn / 4 / 2 / ticks;
} else {