Changed Xbox main to take no arguments.

Forces the xbe filename as the only argument (argv).
In Xbox execution: added call to XGetCustomLaunchData.
This commit is contained in:
Ryan Dortmans
2004-09-06 02:37:05 +00:00
parent bdcd44e369
commit 4a8dcb0f10
+3 -1
View File
@@ -906,13 +906,15 @@ static void ProcessArgsSecond()
}
#ifdef _XBOX
void __cdecl main(char* argv[])
void __cdecl main()
#else
int main(int argc, char* argv[])
#endif
{
#ifdef _XBOX
int argc = 1;
char *argv[] = {"default.xbe"};
XGetCustomLaunchData();
#endif
g_argc = argc;