Browse Source
fix comp
Signed-off-by: crueter <crueter@eden-emu.dev>
pull/2632/head
crueter
5 months ago
No known key found for this signature in database
GPG Key ID: 425ACD2D4830EBC6
1 changed files with
6 additions and
3 deletions
-
src/core/hle/service/sockets/sfdnsres.cpp
|
|
|
@ -53,9 +53,12 @@ enum class NetDbError : s32 { |
|
|
|
NoData = 4, |
|
|
|
}; |
|
|
|
|
|
|
|
static constexpr const std::array<std::string, 6> blockedDomains = {"srv.nintendo.net", "battle.net", |
|
|
|
"microsoft.com", "mojang.com", |
|
|
|
"xboxlive.com", "minecraftservices.com"}; |
|
|
|
static const constexpr std::array blockedDomains = {"srv.nintendo.net", |
|
|
|
"battle.net", |
|
|
|
"microsoft.com", |
|
|
|
"mojang.com", |
|
|
|
"xboxlive.com", |
|
|
|
"minecraftservices.com"}; |
|
|
|
|
|
|
|
static bool IsBlockedHost(const std::string& host) { |
|
|
|
return std::any_of( |
|
|
|
|