mirror of
https://github.com/PabloMK7/citra
synced 2024-11-15 05:08:23 +00:00
APT_U: Release service lock on initialization.
This commit is contained in:
parent
0df9c34410
commit
8eced1b697
1 changed files with 4 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue