2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 16:24:55 +00:00

Proper world-pak detection

This commit is contained in:
Jack Andersen
2015-09-21 15:58:26 -10:00
parent 45494ec9aa
commit a6c964a7c2
5 changed files with 47 additions and 47 deletions

View File

@@ -18,7 +18,7 @@ static bool GetNoShare(const std::string& name)
{
std::string lowerName = name;
std::transform(lowerName.begin(), lowerName.end(), lowerName.begin(), tolower);
if (!name.compare(0, 7, "metroid"))
if (!lowerName.compare(0, 7, "metroid"))
return false;
return true;
}