aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorTony Puccinelli2010-08-06 06:03:34 +0000
committerTony Puccinelli2010-08-06 06:03:34 +0000
commitd4a4176123f1a39916d1b407ab531bf3adb04697 (patch)
tree325a70442c5ab63b8cd750d886544647a2bca608 /backends/platform
parent415a5aaa363634d76c3b75bf76a51172166e2306 (diff)
downloadscummvm-rg350-d4a4176123f1a39916d1b407ab531bf3adb04697.tar.gz
scummvm-rg350-d4a4176123f1a39916d1b407ab531bf3adb04697.tar.bz2
scummvm-rg350-d4a4176123f1a39916d1b407ab531bf3adb04697.zip
added DSPlugin and DS Plugin Provider (steps towards using subtypes of DLObject)
svn-id: r51777
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/ds/arm9/makefile2
-rw-r--r--backends/platform/ds/arm9/source/dsmain.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/backends/platform/ds/arm9/makefile b/backends/platform/ds/arm9/makefile
index adcf24f5ff..e68624679f 100644
--- a/backends/platform/ds/arm9/makefile
+++ b/backends/platform/ds/arm9/makefile
@@ -238,7 +238,7 @@ CXXFLAGS= $(CFLAGS) -Wno-non-virtual-dtor -Wno-unknown-pragmas -Wno-reorder \
ASFLAGS = -mcpu=arm9tdmi -mthumb-interwork
-DEFINES += -D__DS__ -DNDS -DARM9 -DNONSTANDARD_PORT -DDISABLE_FANCY_THEMES -DVECTOR_RENDERER_FORMAT=1555 -DDISABLE_DOSBOX_OPL -DDISABLE_DEFAULT_SAVEFILEMANAGER -DELF_LOADER_TARGET -DNEW_PLUGIN_DESIGN_FIRST_REFINEMENT -DARM
+DEFINES += -D__DS__ -DNDS -DARM9 -DNONSTANDARD_PORT -DDISABLE_FANCY_THEMES -DVECTOR_RENDERER_FORMAT=1555 -DDISABLE_DOSBOX_OPL -DDISABLE_DEFAULT_SAVEFILEMANAGER -DELF_LOADER_TARGET -DARM#-DNEW_PLUGIN_DESIGN_FIRST_REFINEMENT
ifdef USE_MAD
DEFINES += -DUSE_MAD
endif
diff --git a/backends/platform/ds/arm9/source/dsmain.cpp b/backends/platform/ds/arm9/source/dsmain.cpp
index 4e44e9f1dd..ee9e4d7622 100644
--- a/backends/platform/ds/arm9/source/dsmain.cpp
+++ b/backends/platform/ds/arm9/source/dsmain.cpp
@@ -112,6 +112,7 @@
#include "backends/plugins/elf-provider.h"
+#include "backends/plugins/ds/ds-provider.h"
#include "backends/fs/ds/ds-fs.h"
#include "base/version.h"
@@ -3304,7 +3305,7 @@ int main(void) {
#endif
#ifdef DYNAMIC_MODULES
- PluginManager::instance().addPluginProvider(new ELFPluginProvider());
+ PluginManager::instance().addPluginProvider(new DSPluginProvider());
#endif
while (1) {