From 143878a4744a4d5a09a207f530c32c435a34b045 Mon Sep 17 00:00:00 2001 From: B3n30 Date: Sat, 24 Feb 2018 14:25:02 +0100 Subject: [PATCH] Rebased usage of SleepClientThread --- src/core/hle/service/fs/archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/fs/archive.cpp b/src/core/hle/service/fs/archive.cpp index 3370302dda..1fdd66d7e2 100644 --- a/src/core/hle/service/fs/archive.cpp +++ b/src/core/hle/service/fs/archive.cpp @@ -123,7 +123,7 @@ void File::Read(Kernel::HLERequestContext& ctx) { } rb.PushMappedBuffer(buffer); - u64 read_timeout_ns = backend->GetReadDelayNs(length); + std::chrono::nanoseconds read_timeout_ns{backend->GetReadDelayNs(length)}; ctx.SleepClientThread(Kernel::GetCurrentThread(), "file::read", read_timeout_ns, [](Kernel::SharedPtr thread, Kernel::HLERequestContext& ctx, ThreadWakeupReason reason) {