diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index ed8b9545c7..24f5526841 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -853,6 +853,69 @@ static void ApplyLogPreferences() } +//Process args first, put command line options that +//have to run before the SM window loads here +static void ProcessArgsFirst(int argc, char ** argv) +{ + int argCtr = 1,i; //argv[0] is exe + while (argCtri) + ArgParameter = Arguement.substr(i+1,Arguement.GetLength()-i-1); + + //For now using an IF/ELSEIF clause + + if (ArgBase.CompareNoCase("--TESTARGS") == 0) + LOG->Info ("Test of arguements requested. Now in Second argcheck"); + + + argCtr++; + } +} + int main(int argc, char* argv[]) { #ifdef _XBOX @@ -1483,64 +1546,3 @@ static void GameLoop() } } -//Process args first, put command line options that -//have to run before the SM window loads here -void ProcessArgsFirst(int argc, char ** argv) -{ - int argCtr = 1,i; //argv[0] is exe - while (argCtri) - ArgParameter = Arguement.substr(i+1,Arguement.GetLength()-i-1); - - //For now using an IF/ELSEIF clause - - if (ArgBase.CompareNoCase("--TESTARGS") == 0) - LOG->Info ("Test of arguements requested. Now in Second argcheck"); - - - argCtr++; - } -} \ No newline at end of file