aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-31 03:01:24 -0400
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-10-31 03:01:24 -0400
commit28f66d0c8b122b2a4d4d2b57cef0c542ce55fa86 (patch)
tree913b018507afd1449e1624dd188e604f309ebd37 /src
parentb40ad217ab829226841cb71f6e4c5cb05977a225 (diff)
nsd: fix the reply sizes of 15 and 21
SetChangeEnvironmentIdentifierDisabled built its reply with one word, one short of a result-only reply. ResolveEx replied with an extra word after its result code.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/sockets/nsd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/sockets/nsd.cpp b/src/core/hle/service/sockets/nsd.cpp
index 241f2971ca..eb867cf08a 100644
--- a/src/core/hle/service/sockets/nsd.cpp
+++ b/src/core/hle/service/sockets/nsd.cpp
@@ -86,7 +86,7 @@ void NSD::SetChangeEnvironmentIdentifierDisabled(HLERequestContext& ctx) {
LOG_WARNING(Service, "(STUBBED) called, disabled={}", disabled);
- IPC::ResponseBuilder rb{ctx, 1};
+ IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
}
@@ -114,7 +114,7 @@ void NSD::ResolveEx(HLERequestContext& ctx) {
}
ctx.WriteBuffer(fqdn_out);
- IPC::ResponseBuilder rb{ctx, 4};
+ IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
rb.Push(ResultSuccess);
}