aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2/systemps2.cpp
diff options
context:
space:
mode:
authorTony Puccinelli2010-06-01 01:05:09 +0000
committerTony Puccinelli2010-06-01 01:05:09 +0000
commite04b6b7ea0fc4589c86b3d862f4f284c510a6243 (patch)
tree348291ace2022bad42549f40ed619e72a45e94d2 /backends/platform/ps2/systemps2.cpp
parent2712012d0eba3bf634a780d25c2556d0781d9b27 (diff)
downloadscummvm-rg350-e04b6b7ea0fc4589c86b3d862f4f284c510a6243.tar.gz
scummvm-rg350-e04b6b7ea0fc4589c86b3d862f4f284c510a6243.tar.bz2
scummvm-rg350-e04b6b7ea0fc4589c86b3d862f4f284c510a6243.zip
changed ps2 makefile and other files to use the ps2loader
svn-id: r49368
Diffstat (limited to 'backends/platform/ps2/systemps2.cpp')
-rw-r--r--backends/platform/ps2/systemps2.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp
index 49d583d1a1..cd80c2a9cb 100644
--- a/backends/platform/ps2/systemps2.cpp
+++ b/backends/platform/ps2/systemps2.cpp
@@ -59,6 +59,8 @@
#include "backends/platform/ps2/ps2debug.h"
#include "backends/fs/ps2/ps2-fs-factory.h"
+#include "backends/plugins/ps2/ps2-provider.h"
+
#include "backends/saves/default/default-saves.h"
#include "common/config-manager.h"
@@ -132,6 +134,10 @@ extern "C" int main(int argc, char *argv[]) {
g_systemPs2->init();
+#ifdef DYNAMIC_MODULES
+ PluginManager::instance().addPluginProvider(new PS2PluginProvider());
+#endif
+
sioprintf("init done. starting ScummVM.\n");
int res = scummvm_main(argc, argv);
sioprintf("scummvm_main terminated: %d\n", res);