DNAMP2: Mark FrontEnd as non-shared

This commit is contained in:
Luke Street 2020-04-09 22:46:09 -04:00
parent a668a623cb
commit 859d5e9068
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@ logvisor::Module Log("urde::DNAMP2");
static bool GetNoShare(std::string_view name) {
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;
}