diff options
author | Tony Puccinelli | 2010-05-31 22:41:46 +0000 |
---|---|---|
committer | Tony Puccinelli | 2010-05-31 22:41:46 +0000 |
commit | c9a38abf605197c4641b74fcef06d44d8d87b2d7 (patch) | |
tree | 6aafa543223453247a1fe4d4ad0e0d0e5e09e390 /backends/platform/ps2/systemps2.cpp | |
parent | 2138fe0d5afbcb8566c90e8338a5c2896282772f (diff) | |
download | scummvm-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.cpp | 5 |
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); |