summaryrefslogtreecommitdiff
path: root/src/core/hle/service/service.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2019-11-30 18:56:35 -0500
committerGravatar GitHub2019-11-30 18:56:35 -0500
commit5c7253f8d3c010c0a0e5c91db497819829cb4a43 (patch)
treec2aa6989d3f081c07c72c3ab4a698c73ecd8c429 /src/core/hle/service/service.cpp
parentMerge pull request #3184 from ReinUsesLisp/framebuffer-cache (diff)
parentkernel: Implement a more accurate IPC dispatch. (diff)
downloadyuzu-5c7253f8d3c010c0a0e5c91db497819829cb4a43.tar.gz
yuzu-5c7253f8d3c010c0a0e5c91db497819829cb4a43.tar.xz
yuzu-5c7253f8d3c010c0a0e5c91db497819829cb4a43.zip
Merge pull request #3177 from bunnei/new-ipc-req
kernel: Implement a more accurate IPC dispatch.
Diffstat (limited to 'src/core/hle/service/service.cpp')
-rw-r--r--src/core/hle/service/service.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 5698f429f..fa5347af9 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -186,7 +186,7 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co
186 UNIMPLEMENTED_MSG("command_type={}", static_cast<int>(context.GetCommandType())); 186 UNIMPLEMENTED_MSG("command_type={}", static_cast<int>(context.GetCommandType()));
187 } 187 }
188 188
189 context.WriteToOutgoingCommandBuffer(*Kernel::GetCurrentThread()); 189 context.WriteToOutgoingCommandBuffer(context.GetThread());
190 190
191 return RESULT_SUCCESS; 191 return RESULT_SUCCESS;
192} 192}
@@ -201,7 +201,7 @@ void Init(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system) {
201 auto nv_flinger = std::make_shared<NVFlinger::NVFlinger>(system); 201 auto nv_flinger = std::make_shared<NVFlinger::NVFlinger>(system);
202 system.GetFileSystemController().CreateFactories(*system.GetFilesystem(), false); 202 system.GetFileSystemController().CreateFactories(*system.GetFilesystem(), false);
203 203
204 SM::ServiceManager::InstallInterfaces(sm); 204 SM::ServiceManager::InstallInterfaces(sm, system.Kernel());
205 205
206 Account::InstallInterfaces(system); 206 Account::InstallInterfaces(system);
207 AM::InstallInterfaces(*sm, nv_flinger, system); 207 AM::InstallInterfaces(*sm, nv_flinger, system);