aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorTony Puccinelli2010-06-21 22:49:17 +0000
committerTony Puccinelli2010-06-21 22:49:17 +0000
commitb515cb1ed6411f9d71c3b3c138bb55ae60c3b1f5 (patch)
treefb971de237579cba19fa25ef26a0c99bbb8679e3 /backends
parent6c10a0062ad0bf61ea776d50c6788be484c6ad2b (diff)
downloadscummvm-rg350-b515cb1ed6411f9d71c3b3c138bb55ae60c3b1f5.tar.gz
scummvm-rg350-b515cb1ed6411f9d71c3b3c138bb55ae60c3b1f5.tar.bz2
scummvm-rg350-b515cb1ed6411f9d71c3b3c138bb55ae60c3b1f5.zip
added loader to module.mk, added plugin.syms, and changed the '__GP2XWIZ__' flag to 'GP2XWIZ' in the wiz loader
svn-id: r50133
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/gp2xwiz/gp2xwiz-loader.cpp4
-rw-r--r--backends/platform/gp2xwiz/module.mk3
-rw-r--r--backends/platform/gp2xwiz/plugin.syms8
3 files changed, 12 insertions, 3 deletions
diff --git a/backends/platform/gp2xwiz/gp2xwiz-loader.cpp b/backends/platform/gp2xwiz/gp2xwiz-loader.cpp
index 7acc4ee0d0..bc2fd5df6e 100644
--- a/backends/platform/gp2xwiz/gp2xwiz-loader.cpp
+++ b/backends/platform/gp2xwiz/gp2xwiz-loader.cpp
@@ -23,7 +23,7 @@
*
*/
-#if defined(DYNAMIC_MODULES) && defined(__GP2X__)
+#if defined(DYNAMIC_MODULES) && defined(GP2X)
#include <string.h>
#include <stdarg.h>
@@ -252,4 +252,4 @@ void dlforgetsyms(void *handle)
((DLObject *)handle)->discard_symtab();
}
-#endif /* DYNAMIC_MODULES && __GP2X__WIZ__ */
+#endif /* DYNAMIC_MODULES && GP2X__WIZ */
diff --git a/backends/platform/gp2xwiz/module.mk b/backends/platform/gp2xwiz/module.mk
index f457d51615..e162555493 100644
--- a/backends/platform/gp2xwiz/module.mk
+++ b/backends/platform/gp2xwiz/module.mk
@@ -4,7 +4,8 @@ MODULE_OBJS := \
gp2xwiz-events.o \
gp2xwiz-graphics.o \
gp2xwiz-hw.o \
- gp2xwiz-main.o
+ gp2xwiz-main.o \
+ gp2xwiz-loader.o
MODULE_DIRS += \
backends/platform/gp2xwiz/
diff --git a/backends/platform/gp2xwiz/plugin.syms b/backends/platform/gp2xwiz/plugin.syms
new file mode 100644
index 0000000000..24ee1a19dc
--- /dev/null
+++ b/backends/platform/gp2xwiz/plugin.syms
@@ -0,0 +1,8 @@
+PLUGIN_getVersion
+PLUGIN_getType
+PLUGIN_getTypeVersion
+PLUGIN_getObject
+___plugin_ctors
+___plugin_ctors_end
+___plugin_dtors
+___plugin_dtors_end