Browse Source

Merge pull request #3970 from VolcaEM/patch-1

nifm: correct assert string in CreateTemporaryNetworkProfile
nce_cpp
bunnei 6 years ago
committed by GitHub
parent
commit
b469288d2f
  1. 3
      src/core/hle/service/nifm/nifm.cpp

3
src/core/hle/service/nifm/nifm.cpp

@ -177,7 +177,8 @@ private:
void CreateTemporaryNetworkProfile(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_NIFM, "called");
ASSERT_MSG(ctx.GetReadBufferSize() == 0x17c, "NetworkProfileData is not the correct size");
ASSERT_MSG(ctx.GetReadBufferSize() == 0x17c,
"SfNetworkProfileData is not the correct size");
u128 uuid{};
auto buffer = ctx.ReadBuffer();
std::memcpy(&uuid, buffer.data() + 8, sizeof(u128));

Loading…
Cancel
Save