[Scummvm-cvs-logs] CVS: scummvm/base plugins.cpp,1.45,1.46

Marcus Comstedt marcus_c at users.sourceforge.net
Sun Aug 14 06:45:07 CEST 2005


Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10721

Modified Files:
	plugins.cpp 
Log Message:
Fixed new plugin search code to work with Dreamcast:

* Code does case-sensitive comparison with PLUGIN_SUFFIX, so put it in
  uppercase (as filenames in ISO9660 are required to be uppercase).

* There is an assert somewhere which prevents the use of "" as a
  directory.  Use "/" instead...


Index: plugins.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/plugins.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- plugins.cpp	30 Jul 2005 21:10:57 -0000	1.45
+++ plugins.cpp	14 Aug 2005 13:44:20 -0000	1.46
@@ -43,9 +43,9 @@
 #else
 #ifdef __DC__
 #include "dcloader.h"
-#define PLUGIN_DIRECTORY	""
+#define PLUGIN_DIRECTORY	"/"
 #define PLUGIN_PREFIX		""
-#define PLUGIN_SUFFIX		".plg"
+#define PLUGIN_SUFFIX		".PLG"
 #else
 #ifdef _WIN32
 #define PLUGIN_DIRECTORY	""





More information about the Scummvm-git-logs mailing list