aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/sfx')
-rw-r--r--engines/sci/sfx/player/polled.cpp4
-rw-r--r--engines/sci/sfx/player/realtime.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/sfx/player/polled.cpp b/engines/sci/sfx/player/polled.cpp
index 2d9f4903e7..5519482b89 100644
--- a/engines/sci/sfx/player/polled.cpp
+++ b/engines/sci/sfx/player/polled.cpp
@@ -176,11 +176,11 @@ static int pp_init(ResourceManager *resmgr, int expected_latency) {
}
if (seq->patch_nr != SFX_SEQ_PATCHFILE_NONE) {
- res = resmgr->findResource(sci_patch, seq->patch_nr, 0);
+ res = resmgr->findResource(kResourceTypePatch, seq->patch_nr, 0);
}
if (seq->patch2_nr != SFX_SEQ_PATCHFILE_NONE) {
- res2 = resmgr->findResource(sci_patch, seq->patch2_nr, 0);
+ res2 = resmgr->findResource(kResourceTypePatch, seq->patch2_nr, 0);
}
if (seq->init(seq,
diff --git a/engines/sci/sfx/player/realtime.cpp b/engines/sci/sfx/player/realtime.cpp
index 59950bb9ad..bbdebbd305 100644
--- a/engines/sci/sfx/player/realtime.cpp
+++ b/engines/sci/sfx/player/realtime.cpp
@@ -132,7 +132,7 @@ static Resource *find_patch(ResourceManager *resmgr, const char *seq_name, int p
Resource *res = NULL;
if (patchfile != SFX_SEQ_PATCHFILE_NONE) {
- res = resmgr->findResource(sci_patch, patchfile, 0);
+ res = resmgr->findResource(kResourceTypePatch, patchfile, 0);
if (!res) {
fprintf(stderr, "[SFX] " __FILE__": patch.%03d requested by sequencer (%s), but not found\n",
patchfile, seq_name);