diff options
Diffstat (limited to 'src/core/hle/service/apt.cpp')
| -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) { | |||
| 19 | 19 | ||
| 20 | void GetLockHandle(Service::Interface* self) { | 20 | void GetLockHandle(Service::Interface* self) { |
| 21 | u32* cmd_buff = Service::GetCommandBuffer(); | 21 | u32* cmd_buff = Service::GetCommandBuffer(); |
| 22 | cmd_buff[5] = 0x00000000; // TODO: This should be an actual mutex handle | 22 | u32 flags = cmd_buff[1]; |
| 23 | |||
| 24 | // TODO: This should be an actual mutex handle. Games will check that this is not non-zero | ||
| 25 | // (NULL), and fail if such. A faked non-zero value will at least enable further booting. | ||
| 26 | cmd_buff[5] = 0xDEADBEEF; | ||
| 23 | } | 27 | } |
| 24 | 28 | ||
| 25 | const Interface::FunctionInfo FunctionTable[] = { | 29 | const Interface::FunctionInfo FunctionTable[] = { |