diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-17 05:23:56 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-17 05:23:56 +0200 |
commit | 540a693eae210d090b87426ead8cfac5893a9ef8 (patch) | |
tree | 70920fbb62aa8fc6ad5bc5299631af85b08271b9 /src/core/hle | |
parent | Merge master into threading to add support for VFP (diff) | |
download | yuzu-540a693eae210d090b87426ead8cfac5893a9ef8.tar yuzu-540a693eae210d090b87426ead8cfac5893a9ef8.tar.gz yuzu-540a693eae210d090b87426ead8cfac5893a9ef8.tar.bz2 yuzu-540a693eae210d090b87426ead8cfac5893a9ef8.tar.lz yuzu-540a693eae210d090b87426ead8cfac5893a9ef8.tar.xz yuzu-540a693eae210d090b87426ead8cfac5893a9ef8.tar.zst yuzu-540a693eae210d090b87426ead8cfac5893a9ef8.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/service/apt.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/service/apt.cpp b/src/core/hle/service/apt.cpp index 709ac5493..ddb975607 100644 --- a/src/core/hle/service/apt.cpp +++ b/src/core/hle/service/apt.cpp @@ -19,7 +19,11 @@ void Initialize(Service::Interface* self) { void GetLockHandle(Service::Interface* self) { u32* cmd_buff = Service::GetCommandBuffer(); - cmd_buff[5] = 0x00000000; // TODO: This should be an actual mutex handle + u32 flags = cmd_buff[1]; + + // TODO: This should be an actual mutex handle. Games will check that this is not non-zero + // (NULL), and fail if such. A faked non-zero value will at least enable further booting. + cmd_buff[5] = 0xDEADBEEF; } const Interface::FunctionInfo FunctionTable[] = { |