[Scummvm-cvs-logs] SF.net SVN: scummvm: [21941] scummvm/trunk/backends/psp/psp_main.cpp

joostp at users.sourceforge.net joostp at users.sourceforge.net
Sun Apr 16 06:27:03 CEST 2006


Revision: 21941
Author:   joostp
Date:     2006-04-16 06:26:10 -0700 (Sun, 16 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21941&view=rev

Log Message:
-----------
update so it compiles again with current svn

Modified Paths:
--------------
    scummvm/trunk/backends/psp/psp_main.cpp
Modified: scummvm/trunk/backends/psp/psp_main.cpp
===================================================================
--- scummvm/trunk/backends/psp/psp_main.cpp	2006-04-16 13:12:23 UTC (rev 21940)
+++ scummvm/trunk/backends/psp/psp_main.cpp	2006-04-16 13:26:10 UTC (rev 21941)
@@ -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 @@
 	return thid;
 }
 
-
+#undef main
 int main(void)
 {
 	//PSPDebugTrace("Init debug screen\n");
@@ -144,7 +143,7 @@
 	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);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.





More information about the Scummvm-git-logs mailing list