mirror of
https://git.citron-emu.org/citron/emulator
synced 2026-01-30 14:33:29 +00:00
fix: socket assertion crashes and add Nex service stub
- Replace socket option assertion failures with proper error returns - Add WSAENOPROTOOPT/ENOPROTOOPT error handling - Fix LINGER and option value size validation - Add Network::Errno::OTHER translation - Implement basic Nex service stub for error code 2306-0520 Fixes crashes in Minecraft and other games when encountering unsupported socket operations or attempting to use Nintendo's online services. Signed-off-by: Zephyron <zephyron@citron-emu.org>
This commit is contained in:
@@ -663,12 +663,12 @@ struct Values {
|
||||
Setting<bool> airplane_mode{linkage, false, "airplane_mode", Category::Network};
|
||||
Setting<std::string> network_interface{linkage, std::string(), "network_interface",
|
||||
Category::Network};
|
||||
Setting<std::string> lobby_api_url{linkage, "https://api.ynet-fun.xyz", "lobby_api_url",
|
||||
Setting<std::string> lobby_api_url{linkage, "api.ynet-fun.xyz", "lobby_api_url",
|
||||
Category::Network};
|
||||
|
||||
// WebService
|
||||
Setting<bool> enable_telemetry{linkage, false, "enable_telemetry", Category::WebService};
|
||||
Setting<std::string> web_api_url{linkage, "https://api.ynet-fun.xyz", "web_api_url",
|
||||
Setting<std::string> web_api_url{linkage, "api.ynet-fun.xyz", "web_api_url",
|
||||
Category::WebService};
|
||||
Setting<std::string> citron_username{linkage, std::string(), "citron_username",
|
||||
Category::WebService};
|
||||
|
||||
Reference in New Issue
Block a user