Use the name "scummvm_main" for the common main function, like WinCE.

svn-id: r13253
This commit is contained in:
Marcus Comstedt 2004-03-13 15:17:13 +00:00
parent f712d21c1d
commit 24b86b8566
2 changed files with 3 additions and 4 deletions

View File

@ -198,10 +198,9 @@ void dc_init_hardware()
init_arm();
}
extern "C" int scummvm_main(int argc, char *argv[]);
int main()
{
extern int scumm_main(int argc, char *argv[]);
static char *argv[] = { "scummvm", NULL, NULL, NULL };
static int argc = 3;
@ -215,7 +214,7 @@ int main()
PluginManager::instance().unloadPlugins();
scumm_main(argc, argv);
scummvm_main(argc, argv);
exit(0);
}

View File

@ -37,5 +37,5 @@
#undef Timer
#endif
#ifndef REAL_MAIN
#define main scumm_main
#define main scummvm_main
#endif