aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorChris Apers2005-10-08 22:00:58 +0000
committerChris Apers2005-10-08 22:00:58 +0000
commitca65477b65c992513b716c98833d8c899b0aacba (patch)
treed3a7136e679fcae08a5aca7b1666e989fdad201b /base
parent03f95bc26adbba7be8f59141ab73d3b7b7fd2a98 (diff)
downloadscummvm-rg350-ca65477b65c992513b716c98833d8c899b0aacba.tar.gz
scummvm-rg350-ca65477b65c992513b716c98833d8c899b0aacba.tar.bz2
scummvm-rg350-ca65477b65c992513b716c98833d8c899b0aacba.zip
PalmOS stuffs
svn-id: r18977
Diffstat (limited to 'base')
-rw-r--r--base/plugins.cpp5
-rw-r--r--base/plugins.h3
2 files changed, 3 insertions, 5 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp
index 0f1db6d6d7..080311891c 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -287,7 +287,7 @@ void PluginManager::loadPlugins() {
#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::loadPlugins() {
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 @@ DetectedGameList PluginManager::detectGames(const FSList &fslist) const {
return candidates;
}
-
diff --git a/base/plugins.h b/base/plugins.h
index e3b17de4a5..f3505ce428 100644
--- a/base/plugins.h
+++ b/base/plugins.h
@@ -87,7 +87,7 @@ public:
* @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 @@ public:
};
#endif
-