aboutsummaryrefslogtreecommitdiff
path: root/saga/scene.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2005-01-17 18:49:00 +0000
committerEugene Sandulenko2005-01-17 18:49:00 +0000
commit5200b8f1fa8df767cc74bc7df0f2429a6d984624 (patch)
tree3b92b21dcd8a1daa8fa73df24017896b39ed1c05 /saga/scene.cpp
parent32117397288624adb700dfdb6c6e71bbc5993cc5 (diff)
downloadscummvm-rg350-5200b8f1fa8df767cc74bc7df0f2429a6d984624.tar.gz
scummvm-rg350-5200b8f1fa8df767cc74bc7df0f2429a6d984624.tar.bz2
scummvm-rg350-5200b8f1fa8df767cc74bc7df0f2429a6d984624.zip
o Proper implementation of sfPlaySound() which knows about CD<->floppy
difference o Fix regression in Mac titles where scene LUT wasn't conversed o Fix sound types in many games. Old Win demo is still wrong. svn-id: r16586
Diffstat (limited to 'saga/scene.cpp')
-rw-r--r--saga/scene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/scene.cpp b/saga/scene.cpp
index 179b2ebbfa..37ed57290b 100644
--- a/saga/scene.cpp
+++ b/saga/scene.cpp
@@ -66,8 +66,8 @@ Scene::Scene(SagaEngine *vm) : _vm(vm), _initialized(false) {
// Load scene lookup table
- debug(0, "Loading scene LUT from resource %u.", _vm->getResourceDescription()->scene_lut_rn);
- result = RSC_LoadResource(_sceneContext, _vm->getResourceDescription()->scene_lut_rn, &scene_lut_p, &scene_lut_len);
+ debug(0, "Loading scene LUT from resource %u.", RSC_ConvertID(_vm->getResourceDescription()->scene_lut_rn));
+ result = RSC_LoadResource(_sceneContext, RSC_ConvertID(_vm->getResourceDescription()->scene_lut_rn), &scene_lut_p, &scene_lut_len);
if (result != SUCCESS) {
warning("Scene::Scene(): Error: couldn't load scene LUT");
return;