aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/ps2/systemps2.cpp
diff options
context:
space:
mode:
authorTony Puccinelli2010-06-13 05:57:24 +0000
committerTony Puccinelli2010-06-13 05:57:24 +0000
commitfb54698b373b1104989f9b8ce00672511c7ea20b (patch)
treeb291a866869a59da711e65e07c5f9e80e3a229ea /backends/platform/ps2/systemps2.cpp
parenta302fdb2c49d7e98a93a897cbe5cad889204c28e (diff)
downloadscummvm-rg350-fb54698b373b1104989f9b8ce00672511c7ea20b.tar.gz
scummvm-rg350-fb54698b373b1104989f9b8ce00672511c7ea20b.tar.bz2
scummvm-rg350-fb54698b373b1104989f9b8ce00672511c7ea20b.zip
loadable modules working for ps2
svn-id: r49617
Diffstat (limited to 'backends/platform/ps2/systemps2.cpp')
-rw-r--r--backends/platform/ps2/systemps2.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/backends/platform/ps2/systemps2.cpp b/backends/platform/ps2/systemps2.cpp
index 120f6ee157..357404c5c4 100644
--- a/backends/platform/ps2/systemps2.cpp
+++ b/backends/platform/ps2/systemps2.cpp
@@ -107,7 +107,6 @@ extern "C" int scummvm_main(int argc, char *argv[]);
extern "C" int main(int argc, char *argv[]) {
SifInitRpc(0);
-
ee_thread_t thisThread;
int tid = GetThreadId();
ReferThreadStatus(tid, &thisThread);
@@ -132,12 +131,11 @@ extern "C" int main(int argc, char *argv[]) {
sioprintf("Creating system\n");
g_system = g_systemPs2 = new OSystem_PS2(argv[0]);
- g_systemPs2->init();
-
#ifdef DYNAMIC_MODULES
PluginManager::instance().addPluginProvider(new PS2PluginProvider());
#endif
+ g_systemPs2->init();
sioprintf("init done. starting ScummVM.\n");
int res = scummvm_main(argc, argv);
sioprintf("scummvm_main terminated: %d\n", res);
@@ -343,6 +341,7 @@ OSystem_PS2::OSystem_PS2(const char *elfPath) {
}
void OSystem_PS2::init(void) {
+ //msgPrintf(FOREVER, "got to init! Now restart your console... %d\n", res);
sioprintf("Timer...\n");
_scummTimerManager = new DefaultTimerManager();
_scummMixer = new Audio::MixerImpl(this, 48000);