[Scummvm-cvs-logs] CVS: scummvm/base plugins.cpp,1.49,1.50 plugins.h,1.30,1.31
Chris Apers
chrilith at users.sourceforge.net
Sat Oct 8 15:02:20 CEST 2005
Update of /cvsroot/scummvm/scummvm/base
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30249
Modified Files:
plugins.cpp plugins.h
Log Message:
PalmOS stuffs
Index: plugins.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/plugins.cpp,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- plugins.cpp 4 Sep 2005 16:38:38 -0000 1.49
+++ plugins.cpp 8 Oct 2005 22:00:58 -0000 1.50
@@ -287,7 +287,7 @@
#else
-#ifdef PALMOS_ARM
+#if defined(PALMOS_ARM) || defined(PALMOS_DEBUG)
#define FREE_PLUGIN(ID) \
extern PluginRegistrator *g_##ID##_PluginReg; \
delete g_##ID##_PluginReg;
@@ -342,7 +342,7 @@
void PluginManager::unloadPlugins() {
unloadPluginsExcept(NULL);
-#ifdef PALMOS_ARM
+#if defined(PALMOS_ARM) || defined(PALMOS_DEBUG)
#ifndef DISABLE_SCUMM
FREE_PLUGIN(SCUMM)
#endif
@@ -416,4 +416,3 @@
return candidates;
}
-
Index: plugins.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/base/plugins.h,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- plugins.h 4 Sep 2005 16:38:38 -0000 1.30
+++ plugins.h 8 Oct 2005 22:00:58 -0000 1.31
@@ -87,7 +87,7 @@
* @todo on Windows, we might need __declspec(dllexport) ?
*/
-#ifdef PALMOS_ARM
+#if defined(PALMOS_ARM) || defined(PALMOS_DEBUG)
#define REGISTER_PLUGIN(ID,name) \
PluginRegistrator *g_##ID##_PluginReg; \
void g_##ID##_PluginReg_alloc() { \
@@ -166,4 +166,3 @@
};
#endif
-
More information about the Scummvm-git-logs
mailing list