[Scummvm-cvs-logs] SF.net SVN: scummvm:[46511] scummvm/trunk/engines/sci/sfx/soundcmd.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Dec 23 19:46:11 CET 2009


Revision: 46511
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46511&view=rev
Author:   thebluegr
Date:     2009-12-23 18:46:10 +0000 (Wed, 23 Dec 2009)

Log Message:
-----------
Fixed compilation

Modified Paths:
--------------
    scummvm/trunk/engines/sci/sfx/soundcmd.cpp

Modified: scummvm/trunk/engines/sci/sfx/soundcmd.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/soundcmd.cpp	2009-12-23 18:34:19 UTC (rev 46510)
+++ scummvm/trunk/engines/sci/sfx/soundcmd.cpp	2009-12-23 18:46:10 UTC (rev 46511)
@@ -114,7 +114,7 @@
 			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 @@
 	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));


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list