diff options
author | german77 <juangerman-13@hotmail.com> | 2022-11-13 17:52:48 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-11-13 17:52:48 +0100 |
commit | 6c045c9beb9c202fdea49274edd845fb2af491c3 (patch) | |
tree | f3a6dbcd012e197e26b32c57ab0795d5caabc425 /src/core/hle/service/nfp/nfp_device.h | |
parent | Merge pull request #9226 from Kelebek1/regs_regression (diff) | |
download | yuzu-6c045c9beb9c202fdea49274edd845fb2af491c3.tar yuzu-6c045c9beb9c202fdea49274edd845fb2af491c3.tar.gz yuzu-6c045c9beb9c202fdea49274edd845fb2af491c3.tar.bz2 yuzu-6c045c9beb9c202fdea49274edd845fb2af491c3.tar.lz yuzu-6c045c9beb9c202fdea49274edd845fb2af491c3.tar.xz yuzu-6c045c9beb9c202fdea49274edd845fb2af491c3.tar.zst yuzu-6c045c9beb9c202fdea49274edd845fb2af491c3.zip |
Diffstat (limited to 'src/core/hle/service/nfp/nfp_device.h')
-rw-r--r-- | src/core/hle/service/nfp/nfp_device.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/nfp/nfp_device.h b/src/core/hle/service/nfp/nfp_device.h index 76d0e9ae4..3d1cb4609 100644 --- a/src/core/hle/service/nfp/nfp_device.h +++ b/src/core/hle/service/nfp/nfp_device.h @@ -4,6 +4,7 @@ #pragma once #include <array> +#include <span> #include <vector> #include "common/common_funcs.h" @@ -37,7 +38,7 @@ public: void Initialize(); void Finalize(); - Result StartDetection(s32 protocol_); + Result StartDetection(TagProtocol allowed_protocol); Result StopDetection(); Result Mount(MountTarget mount_target); Result Unmount(); @@ -53,6 +54,7 @@ public: Result DeleteAllData(); Result OpenApplicationArea(u32 access_id); + Result GetApplicationAreaId(u32& application_area_id) const; Result GetApplicationArea(std::vector<u8>& data) const; Result SetApplicationArea(std::span<const u8> data); Result CreateApplicationArea(u32 access_id, std::span<const u8> data); @@ -88,7 +90,7 @@ private: bool is_data_moddified{}; bool is_app_area_open{}; - s32 protocol{}; + TagProtocol allowed_protocols{}; s64 current_posix_time{}; MountTarget mount_target{MountTarget::None}; DeviceState device_state{DeviceState::Unavailable}; |