diff options
author | Viktor Szépe <viktor@szepe.net> | 2024-01-08 20:31:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-08 20:31:48 +0100 |
commit | f12446167491b3e691f6a93a01cad3bd9e54d105 (patch) | |
tree | 8992865b548e08317504d653880c3ee4aacb6ad4 /src/core/hle/service/hid/hid.cpp | |
parent | Merge pull request #12608 from szepeviktor/typos (diff) | |
download | yuzu-f12446167491b3e691f6a93a01cad3bd9e54d105.tar yuzu-f12446167491b3e691f6a93a01cad3bd9e54d105.tar.gz yuzu-f12446167491b3e691f6a93a01cad3bd9e54d105.tar.bz2 yuzu-f12446167491b3e691f6a93a01cad3bd9e54d105.tar.lz yuzu-f12446167491b3e691f6a93a01cad3bd9e54d105.tar.xz yuzu-f12446167491b3e691f6a93a01cad3bd9e54d105.tar.zst yuzu-f12446167491b3e691f6a93a01cad3bd9e54d105.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/hid/hid.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp index fc8a3ab66..fc03a0a5f 100644 --- a/src/core/hle/service/hid/hid.cpp +++ b/src/core/hle/service/hid/hid.cpp @@ -18,23 +18,23 @@ namespace Service::HID { void LoopProcess(Core::System& system) { auto server_manager = std::make_unique<ServerManager>(system); - std::shared_ptr<ResourceManager> resouce_manager = std::make_shared<ResourceManager>(system); + std::shared_ptr<ResourceManager> resource_manager = std::make_shared<ResourceManager>(system); std::shared_ptr<HidFirmwareSettings> firmware_settings = std::make_shared<HidFirmwareSettings>(); // 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); + resource_manager->Initialize(); + resource_manager->RegisterAppletResourceUserId(process_list[0]->GetId(), true); } server_manager->RegisterNamedService( - "hid", std::make_shared<IHidServer>(system, resouce_manager, firmware_settings)); + "hid", std::make_shared<IHidServer>(system, resource_manager, firmware_settings)); server_manager->RegisterNamedService( - "hid:dbg", std::make_shared<IHidDebugServer>(system, resouce_manager)); + "hid:dbg", std::make_shared<IHidDebugServer>(system, resource_manager)); server_manager->RegisterNamedService( - "hid:sys", std::make_shared<IHidSystemServer>(system, resouce_manager)); + "hid:sys", std::make_shared<IHidSystemServer>(system, resource_manager)); server_manager->RegisterNamedService("hidbus", std::make_shared<HidBus>(system)); |