[Scummvm-cvs-logs] CVS: scummvm/scumm string.cpp,1.106,1.106.2.1

Marcus Comstedt marcus_c at users.sourceforge.net
Tue May 6 14:42:14 CEST 2003


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

Modified Files:
      Tag: branch-0-4-0
	string.cpp 
Log Message:
Disable CoMI translations for Dreamcast;
The constant opening and closing of language.tab makes the game
totally unplayable.  Besides, it doesn't seem to affect the strings,
so it's rather unnecessary anyway.


Index: string.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/string.cpp,v
retrieving revision 1.106
retrieving revision 1.106.2.1
diff -u -d -r1.106 -r1.106.2.1
--- string.cpp	29 Apr 2003 10:26:35 -0000	1.106
+++ string.cpp	6 May 2003 21:41:54 -0000	1.106.2.1
@@ -854,6 +854,7 @@
 	char *buf = _languageBuffer;
 
 	if (_gameId == GID_CMI) {
+#ifndef __DC__
 		if ((text[0] == '/') && (_existLanguageFile == true)) {
 			struct langIndexNode target;
 			struct langIndexNode *found = NULL;
@@ -897,6 +898,7 @@
 				}
 			}
 		}
+#endif
 		byte *pointer = (byte *)strchr((char *)text + 1, '/');
 		if (pointer != NULL) {
 			pointer++;





More information about the Scummvm-git-logs mailing list