mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-03-08 06:36:27 +00:00
service: hid: Handle pending delete
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user