mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-24 09:07:03 +02:00
[hle/service/sockets] fix hogwarts legacy
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
c5b519380c
commit
b4d78cda26
1 changed files with 9 additions and 6 deletions
|
|
@ -53,12 +53,15 @@ enum class NetDbError : s32 {
|
||||||
NoData = 4,
|
NoData = 4,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const constexpr std::array blockedDomains = {"srv.nintendo.net",
|
static const constexpr std::array blockedDomains = {
|
||||||
"battle.net",
|
"srv.nintendo.net", //obvious
|
||||||
"microsoft.com",
|
"phoenix-api.wbagora.com", //hogwarts legacy
|
||||||
"mojang.com",
|
"battle.net",
|
||||||
"xboxlive.com",
|
"microsoft.com", //minecraft dungeons + other games
|
||||||
"minecraftservices.com"};
|
"mojang.com",
|
||||||
|
"xboxlive.com",
|
||||||
|
"minecraftservices.com"
|
||||||
|
};
|
||||||
|
|
||||||
static bool IsBlockedHost(const std::string& host) {
|
static bool IsBlockedHost(const std::string& host) {
|
||||||
return std::any_of(
|
return std::any_of(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue