Skip to content
Snippets Groups Projects
Commit 540a693e authored by bunnei's avatar bunnei
Browse files

updated APT_U::GetLockHandle to return a valid handle

parent 0b1ba2f3
No related branches found
No related tags found
No related merge requests found
......@@ -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[] = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment