summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfp/nfp_result.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2022-09-25 04:28:06 +0200
committergerman77 <juangerman-13@hotmail.com>2022-10-02 19:32:26 +0200
commitafea5c163fd2bd4b99753f6780c256c7280052a8 (patch)
tree7ae025424a60b9559f51101d7548e1dde4d1399e /src/core/hle/service/nfp/nfp_result.h
parentcore: hid: Add nfc support to emulated controller (diff)
downloadyuzu-afea5c163fd2bd4b99753f6780c256c7280052a8.tar
yuzu-afea5c163fd2bd4b99753f6780c256c7280052a8.tar.gz
yuzu-afea5c163fd2bd4b99753f6780c256c7280052a8.tar.bz2
yuzu-afea5c163fd2bd4b99753f6780c256c7280052a8.tar.lz
yuzu-afea5c163fd2bd4b99753f6780c256c7280052a8.tar.xz
yuzu-afea5c163fd2bd4b99753f6780c256c7280052a8.tar.zst
yuzu-afea5c163fd2bd4b99753f6780c256c7280052a8.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nfp/nfp_result.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/core/hle/service/nfp/nfp_result.h b/src/core/hle/service/nfp/nfp_result.h
new file mode 100644
index 000000000..15bc02b15
--- /dev/null
+++ b/src/core/hle/service/nfp/nfp_result.h
@@ -0,0 +1,21 @@
+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#include "core/hle/result.h"
+
+namespace Service::NFP {
+
+constexpr Result DeviceNotFound(ErrorModule::NFP, 64);
+constexpr Result WrongDeviceState(ErrorModule::NFP, 73);
+constexpr Result NfcDisabled(ErrorModule::NFP, 80);
+constexpr Result WriteAmiiboFailed(ErrorModule::NFP, 88);
+constexpr Result TagRemoved(ErrorModule::NFP, 97);
+constexpr Result RegistrationIsNotInitialized(ErrorModule::NFP, 120);
+constexpr Result ApplicationAreaIsNotInitialized(ErrorModule::NFP, 128);
+constexpr Result CorruptedData(ErrorModule::NFP, 144);
+constexpr Result WrongApplicationAreaId(ErrorModule::NFP, 152);
+constexpr Result ApplicationAreaExist(ErrorModule::NFP, 168);
+
+} // namespace Service::NFP