diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-04-19 18:09:18 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-04-19 18:09:28 +0200 |
commit | 8285776603a968b8d0068bb1f2006ce2ecb8a972 (patch) | |
tree | ac346677627d770737daa8d3b6a0ef3e08ec9ded /src/core/hle/service | |
parent | time: Fix GetClockSnapshotFromSystemClockContext (diff) | |
download | yuzu-8285776603a968b8d0068bb1f2006ce2ecb8a972.tar yuzu-8285776603a968b8d0068bb1f2006ce2ecb8a972.tar.gz yuzu-8285776603a968b8d0068bb1f2006ce2ecb8a972.tar.bz2 yuzu-8285776603a968b8d0068bb1f2006ce2ecb8a972.tar.lz yuzu-8285776603a968b8d0068bb1f2006ce2ecb8a972.tar.xz yuzu-8285776603a968b8d0068bb1f2006ce2ecb8a972.tar.zst yuzu-8285776603a968b8d0068bb1f2006ce2ecb8a972.zip |
Diffstat (limited to 'src/core/hle/service')
-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 8427555e9..32f372d71 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) { |