summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorspholz <44805808+spholz@users.noreply.github.com>2021-08-02 20:12:12 +0200
committerGitHub <noreply@github.com>2021-08-02 20:12:12 +0200
commite71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92 (patch)
treec1dcf2c59027c60b6b6e4bd7be28e2982c4c5b08 /src/core
parentdecoders: Optimize swizzle copy performance (#6790) (diff)
downloadyuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar
yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar.gz
yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar.bz2
yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar.lz
yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar.xz
yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.tar.zst
yuzu-e71f78d04c0bad33f4ce5cc48a4dcc5ea0d32f92.zip
Diffstat (limited to '')
-rw-r--r--src/core/network/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network/network.cpp b/src/core/network/network.cpp
index 526bfa110..375bc79ec 100644
--- a/src/core/network/network.cpp
+++ b/src/core/network/network.cpp
@@ -570,7 +570,7 @@ std::pair<s32, Errno> Socket::SendTo(u32 flags, const std::vector<u8>& message,
ASSERT(flags == 0);
const sockaddr* to = nullptr;
- const int tolen = addr ? 0 : sizeof(sockaddr);
+ const int tolen = addr ? sizeof(sockaddr) : 0;
sockaddr host_addr_in;
if (addr) {