diff options
author | Ryan Loebs <obsidianx@gmail.com> | 2016-03-29 23:48:25 +0200 |
---|---|---|
committer | Ryan Loebs <obsidianx@gmail.com> | 2016-03-29 23:48:25 +0200 |
commit | 0a7d53692adb1eae98a2935a445efea327370d9f (patch) | |
tree | 9e92aed501cc2506c9b8fdd83e264de2712d7a84 | |
parent | But of course, Windows uses 'int' while Linux uses 'socklen_t' (diff) | |
download | yuzu-0a7d53692adb1eae98a2935a445efea327370d9f.tar yuzu-0a7d53692adb1eae98a2935a445efea327370d9f.tar.gz yuzu-0a7d53692adb1eae98a2935a445efea327370d9f.tar.bz2 yuzu-0a7d53692adb1eae98a2935a445efea327370d9f.tar.lz yuzu-0a7d53692adb1eae98a2935a445efea327370d9f.tar.xz yuzu-0a7d53692adb1eae98a2935a445efea327370d9f.tar.zst yuzu-0a7d53692adb1eae98a2935a445efea327370d9f.zip |
-rw-r--r-- | src/core/hle/service/soc_u.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/hle/service/soc_u.cpp b/src/core/hle/service/soc_u.cpp index b7c8eff57..9d836349a 100644 --- a/src/core/hle/service/soc_u.cpp +++ b/src/core/hle/service/soc_u.cpp @@ -729,11 +729,7 @@ static void GetSockOpt(Service::Interface* self) { u32 socket_handle = cmd_buffer[1]; u32 level = cmd_buffer[2]; u32 optname = cmd_buffer[3]; -#ifdef _WIN32 - int optlen = (int)cmd_buffer[4]; -#else socklen_t optlen = (socklen_t)cmd_buffer[4]; -#endif // 0x100 = static buffer offset (bytes) // + 0x4 = 2nd pointer (u32) position |