[Steps] Fix a bug where e.g. ".SM" ".DWI" ".Sm" ".sM" files wouldn't properly load since the code was expecting lowercase.

This commit is contained in:
AJ Kelly
2011-10-12 18:51:36 -05:00
parent b49843debb
commit 3484470e9f
2 changed files with 7 additions and 0 deletions
+2
View File
@@ -105,6 +105,8 @@ bool Steps::GetNoteDataFromSimfile()
// Replace the line below with the Steps' cache file.
RString stepFile = this->GetFilename();
RString extension = GetExtension(stepFile);
extension.MakeLower(); // must do this because the code is expecting lowercase
if (extension.empty() || extension == "ssc") // remember cache files.
{
SSCLoader loader;