diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/time/time.cpp | 5 |
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 | |||
| 303 | IPC::RequestParser rp{ctx}; | 303 | IPC::RequestParser rp{ctx}; |
| 304 | const auto type{rp.PopEnum<Clock::TimeType>()}; | 304 | const auto type{rp.PopEnum<Clock::TimeType>()}; |
| 305 | 305 | ||
| 306 | rp.AlignWithPadding(); | 306 | rp.Skip(1, false); |
| 307 | 307 | ||
| 308 | const Clock::SystemClockContext user_context{rp.PopRaw<Clock::SystemClockContext>()}; | 308 | const Clock::SystemClockContext user_context{rp.PopRaw<Clock::SystemClockContext>()}; |
| 309 | const Clock::SystemClockContext network_context{rp.PopRaw<Clock::SystemClockContext>()}; | 309 | const Clock::SystemClockContext network_context{rp.PopRaw<Clock::SystemClockContext>()}; |
| @@ -319,9 +319,10 @@ void Module::Interface::GetClockSnapshotFromSystemClockContext(Kernel::HLEReques | |||
| 319 | return; | 319 | return; |
| 320 | } | 320 | } |
| 321 | 321 | ||
| 322 | ctx.WriteBuffer(clock_snapshot); | ||
| 323 | |||
| 322 | IPC::ResponseBuilder rb{ctx, 2}; | 324 | IPC::ResponseBuilder rb{ctx, 2}; |
| 323 | rb.Push(RESULT_SUCCESS); | 325 | rb.Push(RESULT_SUCCESS); |
| 324 | ctx.WriteBuffer(clock_snapshot); | ||
| 325 | } | 326 | } |
| 326 | 327 | ||
| 327 | void Module::Interface::CalculateStandardUserSystemClockDifferenceByUser( | 328 | void Module::Interface::CalculateStandardUserSystemClockDifferenceByUser( |