summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfc/common/device_manager.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-06-17 00:18:24 +0200
committerGitHub <noreply@github.com>2023-06-17 00:18:24 +0200
commita1adcc31d386a19db5cc5d0bf7536b5cc0e7ec16 (patch)
treea7ae4ec330fb52cbda07b929cf920d40eca48775 /src/core/hle/service/nfc/common/device_manager.cpp
parentMerge pull request #10801 from 8bitDream/fix_aspect (diff)
parentservice: nfc: Read tag protocol only for nfc backend (diff)
downloadyuzu-a1adcc31d386a19db5cc5d0bf7536b5cc0e7ec16.tar
yuzu-a1adcc31d386a19db5cc5d0bf7536b5cc0e7ec16.tar.gz
yuzu-a1adcc31d386a19db5cc5d0bf7536b5cc0e7ec16.tar.bz2
yuzu-a1adcc31d386a19db5cc5d0bf7536b5cc0e7ec16.tar.lz
yuzu-a1adcc31d386a19db5cc5d0bf7536b5cc0e7ec16.tar.xz
yuzu-a1adcc31d386a19db5cc5d0bf7536b5cc0e7ec16.tar.zst
yuzu-a1adcc31d386a19db5cc5d0bf7536b5cc0e7ec16.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nfc/common/device_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nfc/common/device_manager.cpp b/src/core/hle/service/nfc/common/device_manager.cpp
index cffd602df..b0456508e 100644
--- a/src/core/hle/service/nfc/common/device_manager.cpp
+++ b/src/core/hle/service/nfc/common/device_manager.cpp
@@ -550,7 +550,7 @@ Result DeviceManager::ReadBackupData(u64 device_handle, std::span<u8> data) cons
}
if (result.IsSuccess()) {
- result = device->ReadBackupData(tag_info.uuid, data);
+ result = device->ReadBackupData(tag_info.uuid, tag_info.uuid_length, data);
result = VerifyDeviceResult(device, result);
}
@@ -569,7 +569,7 @@ Result DeviceManager::WriteBackupData(u64 device_handle, std::span<const u8> dat
}
if (result.IsSuccess()) {
- result = device->WriteBackupData(tag_info.uuid, data);
+ result = device->WriteBackupData(tag_info.uuid, tag_info.uuid_length, data);
result = VerifyDeviceResult(device, result);
}