diff options
Diffstat (limited to 'backends/psp')
-rw-r--r-- | backends/psp/psp_main.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/backends/psp/psp_main.cpp b/backends/psp/psp_main.cpp index f06ac5f1d5..15580bebd6 100644 --- a/backends/psp/psp_main.cpp +++ b/backends/psp/psp_main.cpp @@ -29,13 +29,12 @@ #include <string.h> #include <common/stdafx.h> -#include <common/scummsys.h> +#include <common/system.h> #include <base/engine.h> #include <base/main.h> -#include <base/gameDetector.h> #include <base/plugins.h> -#include <pspgu.h> +#include "osys_psp_gu.h" #include "./trace.h" @@ -122,7 +121,7 @@ int SetupCallbacks(void) return thid; } - +#undef main int main(void) { //PSPDebugTrace("Init debug screen\n"); @@ -144,7 +143,7 @@ int main(void) static char *argv[] = { "scummvm", "--force-1x-overlay", NULL }; static int argc = sizeof(argv)/sizeof(char *)-1; - g_system = OSystem_PSP_create(); + g_system = new OSystem_PSP_GU(); assert(g_system); int res = scummvm_main(argc, argv); |