mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 23:43:34 +00:00
modifications to get the ps2 to use the ps2loader
svn-id: r49363
This commit is contained in:
parent
2138fe0d5a
commit
c9a38abf60
@ -35,6 +35,7 @@ MODULE_OBJS := \
|
||||
plugins/sdl/sdl-provider.o \
|
||||
plugins/win32/win32-provider.o \
|
||||
plugins/psp/psp-provider.o \
|
||||
plugins/ps2/ps2-provider.o \
|
||||
saves/savefile.o \
|
||||
saves/default/default-saves.o \
|
||||
saves/posix/posix-saves.o \
|
||||
|
@ -16,7 +16,8 @@ MODULE_OBJS := \
|
||||
systemps2.o \
|
||||
ps2mutex.o \
|
||||
ps2time.o \
|
||||
ps2debug.o
|
||||
ps2debug.o \
|
||||
ps2loader.o
|
||||
|
||||
MODULE_DIRS += \
|
||||
backends/platform/ps2/
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user