[Scummvm-cvs-logs] SF.net SVN: scummvm:[44304] scummvm/trunk/engines/sci/engine

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Thu Sep 24 15:59:10 CEST 2009


Revision: 44304
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44304&view=rev
Author:   lordhoto
Date:     2009-09-24 13:59:09 +0000 (Thu, 24 Sep 2009)

Log Message:
-----------
Fix warnings.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kfile.cpp
    scummvm/trunk/engines/sci/engine/ksound.cpp

Modified: scummvm/trunk/engines/sci/engine/kfile.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kfile.cpp	2009-09-24 10:58:00 UTC (rev 44303)
+++ scummvm/trunk/engines/sci/engine/kfile.cpp	2009-09-24 13:59:09 UTC (rev 44304)
@@ -144,7 +144,7 @@
 
 	if (!inFile && !outFile) { // Failed
 		debug(3, "file_open() failed");
-		s->r_acc = make_reg(0, 0xffff);
+		s->r_acc = make_reg(0, -1);
 		return;
 	}
 

Modified: scummvm/trunk/engines/sci/engine/ksound.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/ksound.cpp	2009-09-24 10:58:00 UTC (rev 44303)
+++ scummvm/trunk/engines/sci/engine/ksound.cpp	2009-09-24 13:59:09 UTC (rev 44304)
@@ -622,7 +622,7 @@
 
 		case SI_FINISHED:
 			debugC(2, kDebugLevelSound, "---    [FINISHED] %04x:%04x\n", PRINT_REG(obj));
-			PUT_SEL32V(obj, signal, 0xffff);
+			PUT_SEL32V(obj, signal, -1);
 			break;
 
 		case SI_LOOP:
@@ -976,7 +976,7 @@
 			break;
 
 		case SI_FINISHED:
-			PUT_SEL32V(obj, signal, 0xffff);
+			PUT_SEL32V(obj, signal, -1);
 			break;
 
 		case SI_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