From 1baf98f1c85a8e95cba74d947c9ff1657ee80e68 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Sun, 16 Apr 2006 13:26:10 +0000 Subject: update so it compiles again with current svn svn-id: r21941 --- backends/psp/psp_main.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'backends/psp') 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 #include -#include +#include #include #include -#include #include -#include +#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); -- cgit v1.2.3