aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v2.cpp
diff options
context:
space:
mode:
authorJochen Hoenicke2003-06-07 09:48:10 +0000
committerJochen Hoenicke2003-06-07 09:48:10 +0000
commitf1b3e170e9905967c72eb052e45bb6787b4e1516 (patch)
treeddb05a8f6576d6f9b38a75ac0fe20d7601c7084f /scumm/player_v2.cpp
parent0c85e713ac01c991d9155683340e0dd5e7caf750 (diff)
downloadscummvm-rg350-f1b3e170e9905967c72eb052e45bb6787b4e1516.tar.gz
scummvm-rg350-f1b3e170e9905967c72eb052e45bb6787b4e1516.tar.bz2
scummvm-rg350-f1b3e170e9905967c72eb052e45bb6787b4e1516.zip
This should be the right check for header_len.
I first thought that old games did not have GF_SMALL_HEADER. svn-id: r8379
Diffstat (limited to 'scumm/player_v2.cpp')
-rw-r--r--scumm/player_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/player_v2.cpp b/scumm/player_v2.cpp
index c057704e59..c572724d7e 100644
--- a/scumm/player_v2.cpp
+++ b/scumm/player_v2.cpp
@@ -336,7 +336,7 @@ Player_V2::Player_V2(Scumm *scumm) : _scumm(scumm) {
_sample_rate = _system->property(OSystem::PROP_GET_SAMPLE_RATE, 0);
_mutex = _system->create_mutex();
- _header_len = (scumm->_features & GF_SMALL_HEADER) ? 4 : 6;
+ _header_len = (scumm->_features & GF_OLD_BUNDLE) ? 4 : 6;
// Initialize sound queue
current_nr = next_nr = 0;