aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/base/main.cpp b/base/main.cpp
index b6a7b92b2b..11ea937701 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -286,10 +286,12 @@ static int runGame(GameDetector &detector, OSystem &system) {
return result;
}
-#ifndef _WIN32_WCE
-extern "C" int main(int argc, char *argv[]) {
-#else
+#ifdef _WIN32_WCE
extern "C" int scummvm_main(GameDetector &detector, int argc, char *argv[]) {
+#elif defined(__PLAYSTATION2__)
+extern "C" int scummvm_main(int argc, char *argv[]) {
+#else
+extern "C" int main(int argc, char *argv[]) {
#endif
char *cfgFilename = NULL, *s=argv[1];
bool running = true;