aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2/systemps2.cpp
diff options
context:
space:
mode:
authorTony Puccinelli2010-05-31 22:41:46 +0000
committerTony Puccinelli2010-05-31 22:41:46 +0000
commitc9a38abf605197c4641b74fcef06d44d8d87b2d7 (patch)
tree6aafa543223453247a1fe4d4ad0e0d0e5e09e390 /backends/platform/ps2/systemps2.cpp
parent2138fe0d5afbcb8566c90e8338a5c2896282772f (diff)
downloadscummvm-rg350-c9a38abf605197c4641b74fcef06d44d8d87b2d7.tar.gz
scummvm-rg350-c9a38abf605197c4641b74fcef06d44d8d87b2d7.tar.bz2
scummvm-rg350-c9a38abf605197c4641b74fcef06d44d8d87b2d7.zip
modifications to get the ps2 to use the ps2loader
svn-id: r49363
Diffstat (limited to 'backends/platform/ps2/systemps2.cpp')
-rw-r--r--backends/platform/ps2/systemps2.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp
index 49d583d1a1..fe8cc6b29c 100644
--- a/backends/platform/ps2/systemps2.cpp
+++ b/backends/platform/ps2/systemps2.cpp
@@ -59,6 +59,7 @@
#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 +133,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);