From 859d5e90686068ef517e6924367057415abd4bcd Mon Sep 17 00:00:00 2001 From: Luke Street Date: Thu, 9 Apr 2020 22:46:09 -0400 Subject: [PATCH] DNAMP2: Mark FrontEnd as non-shared --- DataSpec/DNAMP2/DNAMP2.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DataSpec/DNAMP2/DNAMP2.cpp b/DataSpec/DNAMP2/DNAMP2.cpp index 779369826..4632705b2 100644 --- a/DataSpec/DNAMP2/DNAMP2.cpp +++ b/DataSpec/DNAMP2/DNAMP2.cpp @@ -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; }