aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/client_session.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-09-14 14:03:10 -0400
committerLioncash <mathew1800@gmail.com>2020-09-14 14:03:13 -0400
commitec2a6e5ba801d850380742db19c1546ac3ff9c4b (patch)
tree44638c8d178116c2d990bae4a9dfa7319f36cdaa /src/core/hle/kernel/client_session.cpp
parent042567e4b21312dc00f1831401d32096364e0226 (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.cpp5
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