mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-25 07:13:21 +00:00
APT_U: Release service lock on initialization.
This commit is contained in:
parent
0df9c34410
commit
8eced1b697
|
@ -34,7 +34,11 @@ void Initialize(Service::Interface* self) {
|
||||||
Kernel::SetEventLocked(cmd_buff[3], true);
|
Kernel::SetEventLocked(cmd_buff[3], true);
|
||||||
Kernel::SetEventLocked(cmd_buff[4], false); // Fire start event
|
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
|
cmd_buff[1] = 0; // No error
|
||||||
|
|
||||||
DEBUG_LOG(KERNEL, "called");
|
DEBUG_LOG(KERNEL, "called");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue