diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-05-13 15:00:46 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-05-16 06:20:48 +0200 |
commit | faaea00069ee7b4c124d776889aad09aa1d9a463 (patch) | |
tree | cc5f6fc6b7f9e6149e3faaf488839bb7aefa088d /src/core/hle/service/nifm/nifm.cpp | |
parent | Merge pull request #6244 from german77/sdlmotion (diff) | |
download | yuzu-faaea00069ee7b4c124d776889aad09aa1d9a463.tar yuzu-faaea00069ee7b4c124d776889aad09aa1d9a463.tar.gz yuzu-faaea00069ee7b4c124d776889aad09aa1d9a463.tar.bz2 yuzu-faaea00069ee7b4c124d776889aad09aa1d9a463.tar.lz yuzu-faaea00069ee7b4c124d776889aad09aa1d9a463.tar.xz yuzu-faaea00069ee7b4c124d776889aad09aa1d9a463.tar.zst yuzu-faaea00069ee7b4c124d776889aad09aa1d9a463.zip |
Diffstat (limited to 'src/core/hle/service/nifm/nifm.cpp')
-rw-r--r-- | src/core/hle/service/nifm/nifm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp index 94ef3983a..76e3832df 100644 --- a/src/core/hle/service/nifm/nifm.cpp +++ b/src/core/hle/service/nifm/nifm.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); } |