diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-09-14 14:03:10 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-09-14 14:03:13 -0400 |
| commit | f700c48cc04c3372bbe0d51e8f882d66813d6658 (patch) | |
| tree | 44638c8d178116c2d990bae4a9dfa7319f36cdaa /src/core/hle/kernel/client_session.cpp | |
| parent | 35a0ff1d6f0fe80aa8e6ada916356b90515f21f0 (diff) | |
kernel: Remove all dependencies on the global system instance
With this, the kernel finally doesn't depend directly on the global
system instance anymore.
Diffstat (limited to 'src/core/hle/kernel/client_session.cpp')
| -rw-r--r-- | src/core/hle/kernel/client_session.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/kernel/client_session.cpp b/src/core/hle/kernel/client_session.cpp index 5ab204b9b8..be9eba5196 100644 --- a/src/core/hle/kernel/client_session.cpp +++ b/src/core/hle/kernel/client_session.cpp @@ -48,14 +48,15 @@ ResultVal<std::shared_ptr<ClientSession>> ClientSession::Create(KernelCore& kern } ResultCode ClientSession::SendSyncRequest(std::shared_ptr<Thread> thread, - Core::Memory::Memory& memory) { + Core::Memory::Memory& memory, + Core::Timing::CoreTiming& core_timing) { // Keep ServerSession alive until we're done working with it. if (!parent->Server()) { return ERR_SESSION_CLOSED_BY_REMOTE; } // Signal the server session that new data is available - return parent->Server()->HandleSyncRequest(std::move(thread), memory); + return parent->Server()->HandleSyncRequest(std::move(thread), memory, core_timing); } } // namespace Kernel |
