[Scummvm-cvs-logs] CVS: scummvm/scumm imuse.cpp,2.58,2.59 resource.cpp,1.91,1.92

Travis Howell kirben at users.sourceforge.net
Wed May 28 04:57:25 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv9258/scumm

Modified Files:
	imuse.cpp resource.cpp 
Log Message:

Treat AMI music resoucres in monkey2 for Amiga as ROL for now, to allow music playback


Index: imuse.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse.cpp,v
retrieving revision 2.58
retrieving revision 2.59
diff -u -d -r2.58 -r2.59
--- imuse.cpp	26 May 2003 20:42:23 -0000	2.58
+++ imuse.cpp	28 May 2003 11:56:49 -0000	2.59
@@ -131,6 +131,8 @@
 	switch (tag) {
 	case MKID('ADL '):
 		return false;
+	case MKID('AMI '):
+		return true;
 	case MKID('ROL '):
 		return true;
 	case MKID('GMD '):
@@ -158,6 +160,8 @@
 	switch (tag) {
 	case MKID('ADL '):
 		return false;
+	case MKID('AMI '):
+		return true; // Yeah... for our purposes, this is GM
 	case MKID('ROL '):
 		return true; // Yeah... for our purposes, this is GM
 	case MKID('GMD '):

Index: resource.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/resource.cpp,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- resource.cpp	26 May 2003 13:14:56 -0000	1.91
+++ resource.cpp	28 May 2003 11:56:50 -0000	1.92
@@ -728,6 +728,9 @@
 				if (_use_adlib)
 					pri = 10;
 				break;
+			case MKID('AMI '):
+				pri = 3;
+				break;
 			case MKID('ROL '):
 				pri = 3;
 				break;





More information about the Scummvm-git-logs mailing list