mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-30 17:29:01 +02:00
service: hid: Handle pending delete
This commit is contained in:
parent
357369ed84
commit
9f2fbff484
3 changed files with 18 additions and 21 deletions
|
|
@ -46,7 +46,9 @@ Result NPadResource::RegisterAppletResourceUserId(u64 aruid) {
|
|||
data_index = i;
|
||||
break;
|
||||
}
|
||||
if (registration_list.flag[i] == RegistrationStatus::None) {
|
||||
// TODO: Don't Handle pending delete here
|
||||
if (registration_list.flag[i] == RegistrationStatus::None ||
|
||||
registration_list.flag[i] == RegistrationStatus::PendingDelete) {
|
||||
data_index = i;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue