Add syntax warning.
This commit is contained in:
@@ -173,9 +173,18 @@ bool KSFLoader::LoadFromKSFFile( const RString &sPath, Steps &out, const Song &s
|
|||||||
|
|
||||||
if( sRowString.size() != 13 )
|
if( sRowString.size() != 13 )
|
||||||
{
|
{
|
||||||
LOG->Warn("File %s had a RowString with an improper length (\"%s\"); corrupt notes ignored",
|
if ((sRowString[0] == '|') &&
|
||||||
sPath.c_str(), sRowString.c_str());
|
(sRowString[1] == 'T' || sRowString[1] == 'B' || sRowString[1] == 'D'))
|
||||||
return false;
|
{
|
||||||
|
LOG->Warn("File %s had Direct Move syntax %s which is currently unsupported; said part ignored",
|
||||||
|
sPath.c_str(), sRowString.c_str());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
LOG->Warn("File %s had a RowString with an improper length (\"%s\"); corrupt notes ignored",
|
||||||
|
sPath.c_str(), sRowString.c_str());
|
||||||
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Half-doubles is offset; "0011111100000". */
|
/* Half-doubles is offset; "0011111100000". */
|
||||||
|
|||||||
Reference in New Issue
Block a user