summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-21 05:23:58 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-21 05:23:58 +0200
commiteb537c560a33db9955413a96afd3b98203a729fe (patch)
tree6bb55926f3b811a578a2680b0cd454476a144244 /src/core/hle/service
parentmutex: initial commit of HLE module (diff)
downloadyuzu-eb537c560a33db9955413a96afd3b98203a729fe.tar
yuzu-eb537c560a33db9955413a96afd3b98203a729fe.tar.gz
yuzu-eb537c560a33db9955413a96afd3b98203a729fe.tar.bz2
yuzu-eb537c560a33db9955413a96afd3b98203a729fe.tar.lz
yuzu-eb537c560a33db9955413a96afd3b98203a729fe.tar.xz
yuzu-eb537c560a33db9955413a96afd3b98203a729fe.tar.zst
yuzu-eb537c560a33db9955413a96afd3b98203a729fe.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/apt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/apt.cpp b/src/core/hle/service/apt.cpp
index ecec4da00..b01f35ac5 100644
--- a/src/core/hle/service/apt.cpp
+++ b/src/core/hle/service/apt.cpp
@@ -21,7 +21,8 @@ void Initialize(Service::Interface* self) {
void GetLockHandle(Service::Interface* self) {
u32* cmd_buff = Service::GetCommandBuffer();
u32 flags = cmd_buff[1]; // TODO(bunnei): Figure out the purpose of the flag field
- cmd_buff[1] = Kernel::CreateMutex(cmd_buff[5], false);
+ cmd_buff[1] = 0; // No error
+ cmd_buff[5] = Kernel::CreateMutex(false);
}
const Interface::FunctionInfo FunctionTable[] = {