diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-19 01:17:06 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-19 01:56:33 +0100 |
commit | 019f1a0cf0505436854ed631da56b97b1d490945 (patch) | |
tree | 5a61220815f313c2dab10e12c1c75956c12fd355 /src/core/hle/service | |
parent | thread: Add THREADSTATUS_WAIT_HLE_EVENT, remove THREADSTATUS_WAIT_ARB. (diff) | |
download | yuzu-019f1a0cf0505436854ed631da56b97b1d490945.tar yuzu-019f1a0cf0505436854ed631da56b97b1d490945.tar.gz yuzu-019f1a0cf0505436854ed631da56b97b1d490945.tar.bz2 yuzu-019f1a0cf0505436854ed631da56b97b1d490945.tar.lz yuzu-019f1a0cf0505436854ed631da56b97b1d490945.tar.xz yuzu-019f1a0cf0505436854ed631da56b97b1d490945.tar.zst yuzu-019f1a0cf0505436854ed631da56b97b1d490945.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/service.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index 8818b0f0f..a1ca8a033 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -152,8 +152,7 @@ ResultCode ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext& co UNIMPLEMENTED_MSG("command_type=%d", context.GetCommandType()); } - u32* cmd_buf = (u32*)Memory::GetPointer(Kernel::GetCurrentThread()->GetTLSAddress()); - context.WriteToOutgoingCommandBuffer(cmd_buf, *Core::CurrentProcess(), Kernel::g_handle_table); + context.WriteToOutgoingCommandBuffer(*Kernel::GetCurrentThread()); return RESULT_SUCCESS; } |