aboutsummaryrefslogtreecommitdiff
path: root/backends/psp/psp_main.cpp
diff options
context:
space:
mode:
authorMax Horn2006-04-02 00:08:22 +0000
committerMax Horn2006-04-02 00:08:22 +0000
commit587431f8e838bd08d081d65f18b1f9b8f04566b8 (patch)
treeb0d258b1c28ed19887de121773e723b966369e00 /backends/psp/psp_main.cpp
parenta2c4795f326e62fe8ff74ce0e29e0174d4dab330 (diff)
downloadscummvm-rg350-587431f8e838bd08d081d65f18b1f9b8f04566b8.tar.gz
scummvm-rg350-587431f8e838bd08d081d65f18b1f9b8f04566b8.tar.bz2
scummvm-rg350-587431f8e838bd08d081d65f18b1f9b8f04566b8.zip
Fully and officially renamed our main function to scummvm_main, thus making
various backend specific hacks unnecessary. As a consequence, it is now the responsibility of the backend to define main. Hence I adapted the SDL backend accordingly. svn-id: r21542
Diffstat (limited to 'backends/psp/psp_main.cpp')
-rw-r--r--backends/psp/psp_main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/backends/psp/psp_main.cpp b/backends/psp/psp_main.cpp
index b4af6dbbe7..d981c314dc 100644
--- a/backends/psp/psp_main.cpp
+++ b/backends/psp/psp_main.cpp
@@ -28,10 +28,10 @@
#include <stdlib.h>
#include <string.h>
-#define REAL_MAIN
#include <common/stdafx.h>
#include <common/scummsys.h>
#include <base/engine.h>
+#include <base/main.h>
#include <base/gameDetector.h>
#include <base/plugins.h>
@@ -123,8 +123,6 @@ int SetupCallbacks(void)
}
-extern "C" int scummvm_main(int argc, char *argv[]);
-
int main(void)
{
//PSPDebugTrace("Init debug screen\n");