PalmOS stuffs
svn-id: r18977
This commit is contained in:
parent
03f95bc26a
commit
ca65477b65
2 changed files with 3 additions and 5 deletions
|
@ -287,7 +287,7 @@ void PluginManager::loadPlugins() {
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#ifdef PALMOS_ARM
|
#if defined(PALMOS_ARM) || defined(PALMOS_DEBUG)
|
||||||
#define FREE_PLUGIN(ID) \
|
#define FREE_PLUGIN(ID) \
|
||||||
extern PluginRegistrator *g_##ID##_PluginReg; \
|
extern PluginRegistrator *g_##ID##_PluginReg; \
|
||||||
delete g_##ID##_PluginReg;
|
delete g_##ID##_PluginReg;
|
||||||
|
@ -342,7 +342,7 @@ void PluginManager::loadPlugins() {
|
||||||
void PluginManager::unloadPlugins() {
|
void PluginManager::unloadPlugins() {
|
||||||
unloadPluginsExcept(NULL);
|
unloadPluginsExcept(NULL);
|
||||||
|
|
||||||
#ifdef PALMOS_ARM
|
#if defined(PALMOS_ARM) || defined(PALMOS_DEBUG)
|
||||||
#ifndef DISABLE_SCUMM
|
#ifndef DISABLE_SCUMM
|
||||||
FREE_PLUGIN(SCUMM)
|
FREE_PLUGIN(SCUMM)
|
||||||
#endif
|
#endif
|
||||||
|
@ -416,4 +416,3 @@ DetectedGameList PluginManager::detectGames(const FSList &fslist) const {
|
||||||
|
|
||||||
return candidates;
|
return candidates;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ public:
|
||||||
* @todo on Windows, we might need __declspec(dllexport) ?
|
* @todo on Windows, we might need __declspec(dllexport) ?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef PALMOS_ARM
|
#if defined(PALMOS_ARM) || defined(PALMOS_DEBUG)
|
||||||
#define REGISTER_PLUGIN(ID,name) \
|
#define REGISTER_PLUGIN(ID,name) \
|
||||||
PluginRegistrator *g_##ID##_PluginReg; \
|
PluginRegistrator *g_##ID##_PluginReg; \
|
||||||
void g_##ID##_PluginReg_alloc() { \
|
void g_##ID##_PluginReg_alloc() { \
|
||||||
|
@ -166,4 +166,3 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue