summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfp/nfp_device.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-04-19 19:36:28 +0200
committerGitHub <noreply@github.com>2023-04-19 19:36:28 +0200
commit799579c8d2d695be7276387b9ae12e9836c4f14b (patch)
treef32687e5dd1ea05554883c8c49d0ec9cc49a8247 /src/core/hle/service/nfp/nfp_device.h
parentMerge pull request #10030 from Wollnashorn/botw-amd-fix (diff)
parentservice: nfp: Implement debug Interface (diff)
downloadyuzu-799579c8d2d695be7276387b9ae12e9836c4f14b.tar
yuzu-799579c8d2d695be7276387b9ae12e9836c4f14b.tar.gz
yuzu-799579c8d2d695be7276387b9ae12e9836c4f14b.tar.bz2
yuzu-799579c8d2d695be7276387b9ae12e9836c4f14b.tar.lz
yuzu-799579c8d2d695be7276387b9ae12e9836c4f14b.tar.xz
yuzu-799579c8d2d695be7276387b9ae12e9836c4f14b.tar.zst
yuzu-799579c8d2d695be7276387b9ae12e9836c4f14b.zip
Diffstat (limited to 'src/core/hle/service/nfp/nfp_device.h')
-rw-r--r--src/core/hle/service/nfp/nfp_device.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/service/nfp/nfp_device.h b/src/core/hle/service/nfp/nfp_device.h
index 7f963730d..bab05538a 100644
--- a/src/core/hle/service/nfp/nfp_device.h
+++ b/src/core/hle/service/nfp/nfp_device.h
@@ -41,12 +41,16 @@ public:
Result StopDetection();
Result Mount(MountTarget mount_target);
Result Unmount();
+
Result Flush();
+ Result FlushDebug();
+ Result FlushWithBreak(BreakType break_type);
Result GetTagInfo(TagInfo& tag_info) const;
Result GetCommonInfo(CommonInfo& common_info) const;
Result GetModelInfo(ModelInfo& model_info) const;
Result GetRegisterInfo(RegisterInfo& register_info) const;
+ Result GetRegisterInfoPrivate(RegisterInfoPrivate& register_info) const;
Result GetAdminInfo(AdminInfo& admin_info) const;
Result DeleteRegisterInfo();
@@ -61,6 +65,14 @@ public:
Result CreateApplicationArea(u32 access_id, std::span<const u8> data);
Result RecreateApplicationArea(u32 access_id, std::span<const u8> data);
Result DeleteApplicationArea();
+ Result ExistApplicationArea(bool& has_application_area);
+
+ Result GetAll(NfpData& data) const;
+ Result SetAll(const NfpData& data);
+ Result BreakTag(BreakType break_type);
+ Result ReadBackupData();
+ Result WriteBackupData();
+ Result WriteNtf();
u64 GetHandle() const;
u32 GetApplicationAreaSize() const;