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.cpp2
-rw-r--r--engines/sci/sfx/player/realtime.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/sfx/player/polled.cpp b/engines/sci/sfx/player/polled.cpp
index ff3feea6ed..2d9f4903e7 100644
--- a/engines/sci/sfx/player/polled.cpp
+++ b/engines/sci/sfx/player/polled.cpp
@@ -159,7 +159,7 @@ static int pp_set_option(char *name, char *value) {
}
static int pp_init(ResourceManager *resmgr, int expected_latency) {
- resource_t *res = NULL, *res2 = NULL;
+ Resource *res = NULL, *res2 = NULL;
if (!mixer)
return SFX_ERROR;
diff --git a/engines/sci/sfx/player/realtime.cpp b/engines/sci/sfx/player/realtime.cpp
index a4554eafff..59950bb9ad 100644
--- a/engines/sci/sfx/player/realtime.cpp
+++ b/engines/sci/sfx/player/realtime.cpp
@@ -128,8 +128,8 @@ static void rt_timer_callback(void) {
}
}
-static resource_t *find_patch(ResourceManager *resmgr, const char *seq_name, int patchfile) {
- resource_t *res = NULL;
+static Resource *find_patch(ResourceManager *resmgr, const char *seq_name, int patchfile) {
+ Resource *res = NULL;
if (patchfile != SFX_SEQ_PATCHFILE_NONE) {
res = resmgr->findResource(sci_patch, patchfile, 0);
@@ -149,7 +149,7 @@ static int rt_set_option(char *name, char *value) {
}
static int rt_init(ResourceManager *resmgr, int expected_latency) {
- resource_t *res = NULL, *res2 = NULL;
+ Resource *res = NULL, *res2 = NULL;
void *seq_dev = NULL;
seq = sfx_find_sequencer(NULL);