mirror of https://github.com/AxioDL/metaforce.git
Remove redundant condition from MP2's GetNoShare
This commit is contained in:
parent
ad411a940b
commit
9a87a24439
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue