diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-01 03:50:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-01 03:50:12 +0200 |
commit | 1c05c06e048c0471653275dcb00f391acbfd6324 (patch) | |
tree | 8eda46d4aac083d23a52223e1a3fc46bc6690a6c /src/core/hle/kernel/server_session.cpp | |
parent | Merge pull request #1205 from bunnei/improve-rasterizer-cache-2 (diff) | |
parent | core/core: Replace includes with forward declarations where applicable (diff) | |
download | yuzu-1c05c06e048c0471653275dcb00f391acbfd6324.tar yuzu-1c05c06e048c0471653275dcb00f391acbfd6324.tar.gz yuzu-1c05c06e048c0471653275dcb00f391acbfd6324.tar.bz2 yuzu-1c05c06e048c0471653275dcb00f391acbfd6324.tar.lz yuzu-1c05c06e048c0471653275dcb00f391acbfd6324.tar.xz yuzu-1c05c06e048c0471653275dcb00f391acbfd6324.tar.zst yuzu-1c05c06e048c0471653275dcb00f391acbfd6324.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, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp index 90c9a5aff..aba0cab96 100644 --- a/src/core/hle/kernel/server_session.cpp +++ b/src/core/hle/kernel/server_session.cpp @@ -13,6 +13,7 @@ #include "core/hle/kernel/client_session.h" #include "core/hle/kernel/handle_table.h" #include "core/hle/kernel/hle_ipc.h" +#include "core/hle/kernel/kernel.h" #include "core/hle/kernel/process.h" #include "core/hle/kernel/server_session.h" #include "core/hle/kernel/session.h" @@ -104,11 +105,10 @@ ResultCode ServerSession::HandleSyncRequest(SharedPtr<Thread> thread) { // The ServerSession received a sync request, this means that there's new data available // from its ClientSession, so wake up any threads that may be waiting on a svcReplyAndReceive or // similar. - - auto& handle_table = Core::System::GetInstance().Kernel().HandleTable(); Kernel::HLERequestContext context(this); u32* cmd_buf = (u32*)Memory::GetPointer(thread->GetTLSAddress()); - context.PopulateFromIncomingCommandBuffer(cmd_buf, *Core::CurrentProcess(), handle_table); + context.PopulateFromIncomingCommandBuffer(cmd_buf, *Core::CurrentProcess(), + kernel.HandleTable()); ResultCode result = RESULT_SUCCESS; // If the session has been converted to a domain, handle the domain request |