diff --git a/stepmania/src/smpackage/smpackage.cpp b/stepmania/src/smpackage/smpackage.cpp index 91adfcb4b2..6195667a63 100644 --- a/stepmania/src/smpackage/smpackage.cpp +++ b/stepmania/src/smpackage/smpackage.cpp @@ -32,6 +32,9 @@ CSmpackageApp theApp; #include "RageLog.h" #include "RageFileManager.h" +#include "archutils/Win32/SpecialDirs.h" +#include "ProductInfo.h" +extern RString GetLastErrorString(); BOOL CSmpackageApp::InitInstance() { @@ -54,6 +57,20 @@ BOOL CSmpackageApp::InitInstance() // check if there's a .smzip command line argument vector arrayCommandLineBits; + split( ::GetCommandLine(), " ", arrayCommandLineBits ); + for( unsigned i=0; i