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 | ec2a6e5ba801d850380742db19c1546ac3ff9c4b (patch) | |
| tree | 44638c8d178116c2d990bae4a9dfa7319f36cdaa /src/core/hle/kernel/client_session.cpp | |
| parent | 042567e4b21312dc00f1831401d32096364e0226 (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 5ab204b9b..be9eba519 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 |
