Browse Source

nifm, ssl: Fix incorrect response sizes

nce_cpp
Morph 5 years ago
parent
commit
0fdff05afa
  1. 2
      src/core/hle/service/nifm/nifm.cpp
  2. 2
      src/core/hle/service/ssl/ssl.cpp

2
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);
}

2
src/core/hle/service/ssl/ssl.cpp

@ -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);
}

Loading…
Cancel
Save