added synchronize features to dancing
This commit is contained in:
@@ -447,6 +447,9 @@ bool Song::LoadSongInfoFromDWIFile( CString sPath )
|
|||||||
CStringArray arrayValueTokens;
|
CStringArray arrayValueTokens;
|
||||||
split( sValueString, ":", arrayValueTokens );
|
split( sValueString, ":", arrayValueTokens );
|
||||||
|
|
||||||
|
if( arrayValueTokens.GetSize() == 0 )
|
||||||
|
continue;
|
||||||
|
|
||||||
CString sValueName = arrayValueTokens.GetAt( 0 );
|
CString sValueName = arrayValueTokens.GetAt( 0 );
|
||||||
sValueName.TrimLeft();
|
sValueName.TrimLeft();
|
||||||
|
|
||||||
|
|||||||
@@ -58,8 +58,7 @@ BOOL CSmpackageApp::InitInstance()
|
|||||||
|
|
||||||
|
|
||||||
// Make sure the current directory is the root program directory
|
// Make sure the current directory is the root program directory
|
||||||
if( !DoesFileExist("Songs") )
|
|
||||||
{
|
|
||||||
// change dir to path of the execuctable
|
// change dir to path of the execuctable
|
||||||
TCHAR szFullAppPath[MAX_PATH];
|
TCHAR szFullAppPath[MAX_PATH];
|
||||||
GetModuleFileName(NULL, szFullAppPath, MAX_PATH);
|
GetModuleFileName(NULL, szFullAppPath, MAX_PATH);
|
||||||
@@ -76,7 +75,6 @@ BOOL CSmpackageApp::InitInstance()
|
|||||||
exit( 1 );
|
exit( 1 );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
// check if there's a .smzip command line argument
|
// check if there's a .smzip command line argument
|
||||||
CStringArray arrayCommandLineBits;
|
CStringArray arrayCommandLineBits;
|
||||||
|
|||||||
Reference in New Issue
Block a user