diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-19 03:25:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-19 03:25:09 +0100 |
commit | 2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc (patch) | |
tree | 6e49476a6c0c1a333090a01afa7a4fbfd11b8888 /src/core/hle/service/service.cpp | |
parent | Merge pull request #249 from Subv/macro_E1A (diff) | |
parent | vi: Remove DequeueBuffer and wait until next available buffer. (diff) | |
download | yuzu-2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc.tar yuzu-2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc.tar.gz yuzu-2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc.tar.bz2 yuzu-2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc.tar.lz yuzu-2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc.tar.xz yuzu-2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc.tar.zst yuzu-2dc3a56e9602e0bfba9bfc19f31f0433d1564ccc.zip |
Diffstat (limited to 'src/core/hle/service/service.cpp')
-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; } |