summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-04-19 17:17:47 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-04-19 17:17:47 +0200
commita223006c50aa3fa2370b40a1eacd3d6046c5d361 (patch)
tree756b7e68303ab25349ec3451e5faf265c1613711 /src/core/hle/service
parentMerge pull request #6208 from lat9nq/boost-static (diff)
downloadyuzu-a223006c50aa3fa2370b40a1eacd3d6046c5d361.tar
yuzu-a223006c50aa3fa2370b40a1eacd3d6046c5d361.tar.gz
yuzu-a223006c50aa3fa2370b40a1eacd3d6046c5d361.tar.bz2
yuzu-a223006c50aa3fa2370b40a1eacd3d6046c5d361.tar.lz
yuzu-a223006c50aa3fa2370b40a1eacd3d6046c5d361.tar.xz
yuzu-a223006c50aa3fa2370b40a1eacd3d6046c5d361.tar.zst
yuzu-a223006c50aa3fa2370b40a1eacd3d6046c5d361.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/time/time.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cpp
index 63e0247de..8427555e9 100644
--- a/src/core/hle/service/time/time.cpp
+++ b/src/core/hle/service/time/time.cpp
@@ -303,7 +303,7 @@ void Module::Interface::GetClockSnapshotFromSystemClockContext(Kernel::HLEReques
IPC::RequestParser rp{ctx};
const auto type{rp.PopEnum<Clock::TimeType>()};
- rp.AlignWithPadding();
+ rp.Skip(1, false);
const Clock::SystemClockContext user_context{rp.PopRaw<Clock::SystemClockContext>()};
const Clock::SystemClockContext network_context{rp.PopRaw<Clock::SystemClockContext>()};
@@ -319,9 +319,10 @@ void Module::Interface::GetClockSnapshotFromSystemClockContext(Kernel::HLEReques
return;
}
+ ctx.WriteBuffer(clock_snapshot);
+
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
- ctx.WriteBuffer(clock_snapshot);
}
void Module::Interface::CalculateStandardUserSystemClockDifferenceByUser(