citra-emu
/
citra-canary
Archived
1
0
Fork 0

APT_U: Release service lock on initialization.

This commit is contained in:
bunnei 2014-11-11 00:12:10 -05:00
parent 0df9c34410
commit 8eced1b697
1 changed files with 4 additions and 0 deletions

View File

@ -34,7 +34,11 @@ void Initialize(Service::Interface* self) {
Kernel::SetEventLocked(cmd_buff[3], true);
Kernel::SetEventLocked(cmd_buff[4], false); // Fire start event
_assert_msg_(KERNEL, (0 != lock_handle), "Cannot initialize without lock");
Kernel::ReleaseMutex(lock_handle);
cmd_buff[1] = 0; // No error
DEBUG_LOG(KERNEL, "called");
}