From 4a8dcb0f109ceef2955628b579388dd5fd853931 Mon Sep 17 00:00:00 2001 From: Ryan Dortmans Date: Mon, 6 Sep 2004 02:37:05 +0000 Subject: [PATCH] Changed Xbox main to take no arguments. Forces the xbe filename as the only argument (argv). In Xbox execution: added call to XGetCustomLaunchData. --- stepmania/src/StepMania.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 68fe7800c6..3d3f8d1a70 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -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;