mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
Use the name "scummvm_main" for the common main function, like WinCE.
svn-id: r13253
This commit is contained in:
parent
f712d21c1d
commit
24b86b8566
@ -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);
|
||||
}
|
||||
|
@ -37,5 +37,5 @@
|
||||
#undef Timer
|
||||
#endif
|
||||
#ifndef REAL_MAIN
|
||||
#define main scumm_main
|
||||
#define main scummvm_main
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user