2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-13 20:05:52 +00:00

Merge branch 'mp2-fixes' of ssh://git.axiodl.com:6431/AxioDL/urde into mp2-fixes

This commit is contained in:
Jack Andersen 2020-04-09 17:20:48 -10:00
commit ad411a940b

View File

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