[Scummvm-cvs-logs] SF.net SVN: scummvm:[40563] scummvm/trunk/engines/sci/engine/ksound.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu May 14 19:06:47 CEST 2009
Revision: 40563
http://scummvm.svn.sourceforge.net/scummvm/?rev=40563&view=rev
Author: thebluegr
Date: 2009-05-14 17:06:47 +0000 (Thu, 14 May 2009)
Log Message:
-----------
Fixed regression with SCI1.1 games
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/ksound.cpp
Modified: scummvm/trunk/engines/sci/engine/ksound.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/ksound.cpp 2009-05-14 13:56:05 UTC (rev 40562)
+++ scummvm/trunk/engines/sci/engine/ksound.cpp 2009-05-14 17:06:47 UTC (rev 40563)
@@ -983,7 +983,7 @@
}
reg_t kDoSound(EngineState *s, int funct_nr, int argc, reg_t *argv) {
- if (s->flags & GF_SCI1_NEWDOSOUND)
+ if (s->version >= SCI_VERSION(1,001,000) || s->flags & GF_SCI1_NEWDOSOUND)
return kDoSound_SCI1(s, funct_nr, argc, argv);
else if (s->version >= SCI_VERSION(1,000,000))
return kDoSound_SCI01(s, funct_nr, argc, argv);
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