diff options
author | Robert Göffringmann | 2005-03-31 05:35:04 +0000 |
---|---|---|
committer | Robert Göffringmann | 2005-03-31 05:35:04 +0000 |
commit | bd81feb9969f434e538f44ad2c82ea8e9e8821c9 (patch) | |
tree | c2fc75f7bc071afd7eda51e5a076edf5e8f7c009 /base | |
parent | 5a890eedd3eeebc0ab1c37d4150cba11bb9d6138 (diff) | |
download | scummvm-rg350-bd81feb9969f434e538f44ad2c82ea8e9e8821c9.tar.gz scummvm-rg350-bd81feb9969f434e538f44ad2c82ea8e9e8821c9.tar.bz2 scummvm-rg350-bd81feb9969f434e538f44ad2c82ea8e9e8821c9.zip |
Playstation2 Port: initial import
svn-id: r17305
Diffstat (limited to 'base')
-rw-r--r-- | base/main.cpp | 8 |
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; |