summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/service.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-19 01:05:12 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-19 01:05:12 +0200
commit0dfafdbe593581e013e0515cc329a48e6aca0a42 (patch)
treef64ee4d25e2c1fb285173cdebec379002a207201 /src/core/hle/service/service.cpp
parentMerge pull request #2776 from wwylele/geo-factor (diff)
downloadyuzu-0dfafdbe593581e013e0515cc329a48e6aca0a42.tar
yuzu-0dfafdbe593581e013e0515cc329a48e6aca0a42.tar.gz
yuzu-0dfafdbe593581e013e0515cc329a48e6aca0a42.tar.bz2
yuzu-0dfafdbe593581e013e0515cc329a48e6aca0a42.tar.lz
yuzu-0dfafdbe593581e013e0515cc329a48e6aca0a42.tar.xz
yuzu-0dfafdbe593581e013e0515cc329a48e6aca0a42.tar.zst
yuzu-0dfafdbe593581e013e0515cc329a48e6aca0a42.zip
Diffstat (limited to 'src/core/hle/service/service.cpp')
-rw-r--r--src/core/hle/service/service.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 791a65c19..6754cfeea 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -173,8 +173,7 @@ void ServiceFrameworkBase::HandleSyncRequest(SharedPtr<ServerSession> server_ses
// TODO(yuriks): The kernel should be the one handling this as part of translation after
// everything else is migrated
- Kernel::HLERequestContext context;
- context.session = std::move(server_session);
+ Kernel::HLERequestContext context(std::move(server_session));
context.PopulateFromIncomingCommandBuffer(cmd_buf, *Kernel::g_current_process,
Kernel::g_handle_table);