aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2009-12-23 18:46:10 +0000
committerFilippos Karapetis2009-12-23 18:46:10 +0000
commitcaf1ab2a00ba2f58be29e89d780b69af2587119f (patch)
treeb673a259c64c783bec74a6fb51ed9f0ac7c00d80 /engines/sci
parent77f5bbc4f4febf8298313e80e64edc18bb0f8adb (diff)
downloadscummvm-rg350-caf1ab2a00ba2f58be29e89d780b69af2587119f.tar.gz
scummvm-rg350-caf1ab2a00ba2f58be29e89d780b69af2587119f.tar.bz2
scummvm-rg350-caf1ab2a00ba2f58be29e89d780b69af2587119f.zip
Fixed compilation
svn-id: r46511
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sfx/soundcmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp
index d696225e55..55d7aa7323 100644
--- a/engines/sci/sfx/soundcmd.cpp
+++ b/engines/sci/sfx/soundcmd.cpp
@@ -114,7 +114,7 @@ void process_sound_events(EngineState *s) { /* Get all sound events, apply their
debugC(2, kDebugLevelSound, "[process-sound] Song %04x:%04x finished\n",
PRINT_REG(obj));
PUT_SEL32V(segMan, obj, signal, SIGNAL_OFFSET);
- PUT_SEL32V(segMan, obj, state, _K_SOUND_STATUS_STOPPED);
+ PUT_SEL32V(segMan, obj, state, kSndStatusStopped);
break;
default:
@@ -323,7 +323,7 @@ void SoundCommandParser::cmdPlayHandle(reg_t obj, int16 value) {
if (!_hasNodePtr) {
_state->sfx_song_set_status(handle, SOUND_STATUS_PLAYING);
_state->sfx_song_set_loops(handle, GET_SEL32V(_segMan, obj, loop));
- PUT_SEL32V(_segMan, obj, state, _K_SOUND_STATUS_PLAYING);
+ PUT_SEL32V(_segMan, obj, state, kSndStatusPlaying);
} else if (_doSoundVersion == SCI_VERSION_1_EARLY) {
_state->sfx_song_set_status(handle, SOUND_STATUS_PLAYING);
_state->sfx_song_set_loops(handle, GET_SEL32V(_segMan, obj, loop));