time: Write buffer before pushing RESULT_SUCCESS in GetClockSnapshot

This commit is contained in:
Morph 2021-04-19 12:09:18 -04:00
parent b8a414cea0
commit bebb8afcbf

View file

@ -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) {