diff options
| author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-04-19 12:09:18 -0400 |
|---|---|---|
| committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-04-19 12:09:28 -0400 |
| commit | bebb8afcbfd9aa45caed2c24e8e004d8b1d68e73 (patch) | |
| tree | ac346677627d770737daa8d3b6a0ef3e08ec9ded /src | |
| parent | b8a414cea064250f012d471b96b3886447fe565e (diff) | |
time: Write buffer before pushing RESULT_SUCCESS in GetClockSnapshot
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/time/time.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cpp index 8427555e95..32f372d71c 100644 --- a/src/core/hle/service/time/time.cpp +++ b/src/core/hle/service/time/time.cpp @@ -294,9 +294,10 @@ void Module::Interface::GetClockSnapshot(Kernel::HLERequestContext& ctx) { return; } + ctx.WriteBuffer(clock_snapshot); + IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); - ctx.WriteBuffer(clock_snapshot); } void Module::Interface::GetClockSnapshotFromSystemClockContext(Kernel::HLERequestContext& ctx) { |
