aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nfc/common
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-11-23 12:36:19 -0500
committerGitHub <noreply@github.com>2023-11-23 12:36:19 -0500
commit0b766e4523dea156d69aab1a2a43b55f50c65071 (patch)
tree44715eb026414d084f3f493f137b578339884a99 /src/core/hle/service/nfc/common
parent91c12db07098625756338e682a4d300a27d7978c (diff)
parentcff2d0e19e164d879b57bab9d06306fa70a1049e (diff)
Merge pull request #12076 from german77/resource
service: hid: Create appropriate hid resources
Diffstat (limited to 'src/core/hle/service/nfc/common')
-rw-r--r--src/core/hle/service/nfc/common/device_manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nfc/common/device_manager.cpp b/src/core/hle/service/nfc/common/device_manager.cpp
index a71d26157..ad534177d 100644
--- a/src/core/hle/service/nfc/common/device_manager.cpp
+++ b/src/core/hle/service/nfc/common/device_manager.cpp
@@ -7,6 +7,7 @@
#include "core/core.h"
#include "core/hid/hid_types.h"
#include "core/hle/kernel/k_event.h"
+#include "core/hle/service/hid/hid_util.h"
#include "core/hle/service/ipc_helpers.h"
#include "core/hle/service/nfc/common/device.h"
#include "core/hle/service/nfc/common/device_manager.h"
@@ -24,7 +25,7 @@ DeviceManager::DeviceManager(Core::System& system_, KernelHelpers::ServiceContex
for (u32 device_index = 0; device_index < devices.size(); device_index++) {
devices[device_index] =
- std::make_shared<NfcDevice>(Core::HID::IndexToNpadIdType(device_index), system,
+ std::make_shared<NfcDevice>(HID::IndexToNpadIdType(device_index), system,
service_context, availability_change_event);
}