summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nfp/nfp.h
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-08-30 07:33:47 +0200
committergerman77 <juangerman-13@hotmail.com>2022-09-07 08:04:00 +0200
commit19a4e12e6ea6c3d06ee227f3ef1a6cbf93850f6e (patch)
treef96054552ebe182e75fd77eabdcdf205a0dffe46 /src/core/hle/service/nfp/nfp.h
parentcore: nfp: Implement amiibo encryption (diff)
downloadyuzu-19a4e12e6ea6c3d06ee227f3ef1a6cbf93850f6e.tar
yuzu-19a4e12e6ea6c3d06ee227f3ef1a6cbf93850f6e.tar.gz
yuzu-19a4e12e6ea6c3d06ee227f3ef1a6cbf93850f6e.tar.bz2
yuzu-19a4e12e6ea6c3d06ee227f3ef1a6cbf93850f6e.tar.lz
yuzu-19a4e12e6ea6c3d06ee227f3ef1a6cbf93850f6e.tar.xz
yuzu-19a4e12e6ea6c3d06ee227f3ef1a6cbf93850f6e.tar.zst
yuzu-19a4e12e6ea6c3d06ee227f3ef1a6cbf93850f6e.zip
Diffstat (limited to 'src/core/hle/service/nfp/nfp.h')
-rw-r--r--src/core/hle/service/nfp/nfp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/nfp/nfp.h b/src/core/hle/service/nfp/nfp.h
index 3410dcfb0..6b979daba 100644
--- a/src/core/hle/service/nfp/nfp.h
+++ b/src/core/hle/service/nfp/nfp.h
@@ -55,7 +55,7 @@ struct ModelInfo {
static_assert(sizeof(ModelInfo) == 0x40, "ModelInfo is an invalid size");
struct RegisterInfo {
- Service::Mii::MiiInfo mii_char_info;
+ Service::Mii::CharInfo mii_char_info;
u16 first_write_year;
u8 first_write_month;
u8 first_write_day;
@@ -96,6 +96,7 @@ public:
Result GetApplicationArea(ApplicationArea& data) const;
Result SetApplicationArea(const std::vector<u8>& data);
Result CreateApplicationArea(u32 access_id, const std::vector<u8>& data);
+ Result RecreateApplicationArea(u32 access_id, const std::vector<u8>& data);
u64 GetHandle() const;
DeviceState GetCurrentState() const;
@@ -152,6 +153,7 @@ private:
void GetNpadId(Kernel::HLERequestContext& ctx);
void GetApplicationAreaSize(Kernel::HLERequestContext& ctx);
void AttachAvailabilityChangeEvent(Kernel::HLERequestContext& ctx);
+ void RecreateApplicationArea(Kernel::HLERequestContext& ctx);
KernelHelpers::ServiceContext service_context;