mirror of https://github.com/AxioDL/metaforce.git
Merge branch 'mp2-fixes' of ssh://git.axiodl.com:6431/AxioDL/urde into mp2-fixes
This commit is contained in:
commit
ad411a940b
|
@ -29,7 +29,9 @@ static bool GetNoShare(std::string_view name) {
|
||||||
return false;
|
return false;
|
||||||
std::string lowerName(name);
|
std::string lowerName(name);
|
||||||
std::transform(lowerName.begin(), lowerName.end(), lowerName.begin(), tolower);
|
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 false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue