mirror of https://github.com/AxioDL/metaforce.git
DNAMP2: Mark FrontEnd as non-shared
This commit is contained in:
parent
a668a623cb
commit
859d5e9068
|
@ -27,7 +27,9 @@ logvisor::Module Log("urde::DNAMP2");
|
||||||
static bool GetNoShare(std::string_view name) {
|
static bool GetNoShare(std::string_view name) {
|
||||||
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