diff options
| author | 2020-05-21 10:43:55 +0200 | |
|---|---|---|
| committer | 2020-05-21 10:43:55 +0200 | |
| commit | cb75ccc1f70778c245947047b5139795b9463c48 (patch) | |
| tree | 1f166d54f63c08b1e6481a6a163edef2539a03f8 /src | |
| parent | nifm: correct assert in CreateTemporaryNetworkProfile (diff) | |
| download | yuzu-cb75ccc1f70778c245947047b5139795b9463c48.tar.gz yuzu-cb75ccc1f70778c245947047b5139795b9463c48.tar.xz yuzu-cb75ccc1f70778c245947047b5139795b9463c48.zip | |
clang-format
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/nifm/nifm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp index aa6fbf67f..01ddcdbd6 100644 --- a/src/core/hle/service/nifm/nifm.cpp +++ b/src/core/hle/service/nifm/nifm.cpp | |||
| @@ -177,7 +177,8 @@ private: | |||
| 177 | void CreateTemporaryNetworkProfile(Kernel::HLERequestContext& ctx) { | 177 | void CreateTemporaryNetworkProfile(Kernel::HLERequestContext& ctx) { |
| 178 | LOG_DEBUG(Service_NIFM, "called"); | 178 | LOG_DEBUG(Service_NIFM, "called"); |
| 179 | 179 | ||
| 180 | ASSERT_MSG(ctx.GetReadBufferSize() == 0x17c, "SfNetworkProfileData is not the correct size"); | 180 | ASSERT_MSG(ctx.GetReadBufferSize() == 0x17c, |
| 181 | "SfNetworkProfileData is not the correct size"); | ||
| 181 | u128 uuid{}; | 182 | u128 uuid{}; |
| 182 | auto buffer = ctx.ReadBuffer(); | 183 | auto buffer = ctx.ReadBuffer(); |
| 183 | std::memcpy(&uuid, buffer.data() + 8, sizeof(u128)); | 184 | std::memcpy(&uuid, buffer.data() + 8, sizeof(u128)); |