diff options
author | Lioncash <mathew1800@gmail.com> | 2020-07-28 01:00:41 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-07-28 03:21:01 +0200 |
commit | a7af349daee85237384dba07533c9a407cf15592 (patch) | |
tree | e337a6e823960cc6b2a7d05c7e33e80cc51a4581 /src/core/hle/kernel/server_session.cpp | |
parent | Merge pull request #4419 from lioncash/initializer (diff) | |
download | yuzu-a7af349daee85237384dba07533c9a407cf15592.tar yuzu-a7af349daee85237384dba07533c9a407cf15592.tar.gz yuzu-a7af349daee85237384dba07533c9a407cf15592.tar.bz2 yuzu-a7af349daee85237384dba07533c9a407cf15592.tar.lz yuzu-a7af349daee85237384dba07533c9a407cf15592.tar.xz yuzu-a7af349daee85237384dba07533c9a407cf15592.tar.zst yuzu-a7af349daee85237384dba07533c9a407cf15592.zip |
Diffstat (limited to 'src/core/hle/kernel/server_session.cpp')
-rw-r--r-- | src/core/hle/kernel/server_session.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp index af22f4c33..7e6391c6c 100644 --- a/src/core/hle/kernel/server_session.cpp +++ b/src/core/hle/kernel/server_session.cpp @@ -33,8 +33,10 @@ ResultVal<std::shared_ptr<ServerSession>> ServerSession::Create(KernelCore& kern std::string name) { std::shared_ptr<ServerSession> session{std::make_shared<ServerSession>(kernel)}; - session->request_event = Core::Timing::CreateEvent( - name, [session](u64, std::chrono::nanoseconds) { session->CompleteSyncRequest(); }); + session->request_event = + Core::Timing::CreateEvent(name, [session](std::uintptr_t, std::chrono::nanoseconds) { + session->CompleteSyncRequest(); + }); session->name = std::move(name); session->parent = std::move(parent); |