Browse Source
Merge pull request #6307 from Morph1984/fix-response-push-size
nifm, ssl: Fix incorrect response sizes
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
src/core/hle/service/nifm/nifm.cpp
-
src/core/hle/service/ssl/ssl.cpp
|
|
|
@ -368,7 +368,7 @@ private: |
|
|
|
}, |
|
|
|
}; |
|
|
|
|
|
|
|
IPC::ResponseBuilder rb{ctx, 2 + sizeof(IpConfigInfo) / sizeof(u32)}; |
|
|
|
IPC::ResponseBuilder rb{ctx, 2 + (sizeof(IpConfigInfo) + 3) / sizeof(u32)}; |
|
|
|
rb.Push(RESULT_SUCCESS); |
|
|
|
rb.PushRaw<IpConfigInfo>(ip_config_info); |
|
|
|
} |
|
|
|
|
|
|
|
@ -128,7 +128,7 @@ private: |
|
|
|
|
|
|
|
LOG_WARNING(Service_SSL, "(STUBBED) called"); |
|
|
|
|
|
|
|
IPC::ResponseBuilder rb{ctx, 2}; |
|
|
|
IPC::ResponseBuilder rb{ctx, 4}; |
|
|
|
rb.Push(RESULT_SUCCESS); |
|
|
|
rb.Push(client_id); |
|
|
|
} |
|
|
|
|