service: hid: Implement NpadResource and NpadData

This commit is contained in:
Narr the Reg
2024-01-01 15:23:56 -06:00
parent 148ad0cf0b
commit 6a244465ce
19 changed files with 1929 additions and 675 deletions

View File

@ -25,6 +25,7 @@ void LoopProcess(Core::System& system) {
// TODO: Remove this hack until this service is emulated properly.
const auto process_list = system.Kernel().GetProcessList();
if (!process_list.empty()) {
resouce_manager->Initialize();
resouce_manager->RegisterAppletResourceUserId(process_list[0]->GetId(), true);
}