Remove redundant condition from MP2's GetNoShare

This commit is contained in:
Jack Andersen 2020-04-09 17:21:05 -10:00
parent ad411a940b
commit 9a87a24439
1 changed files with 0 additions and 2 deletions

View File

@ -25,8 +25,6 @@ namespace DataSpec::DNAMP2 {
logvisor::Module Log("urde::DNAMP2"); logvisor::Module Log("urde::DNAMP2");
static bool GetNoShare(std::string_view name) { static bool GetNoShare(std::string_view name) {
if (name == "FrontEnd.pak"sv)
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") == 0) if (lowerName.compare(0, 7, "metroid") == 0)