diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2022-08-30 07:33:47 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-09-07 08:04:00 +0200 |
commit | 19a4e12e6ea6c3d06ee227f3ef1a6cbf93850f6e (patch) | |
tree | f96054552ebe182e75fd77eabdcdf205a0dffe46 /src/core/hle/service/nfp/nfp.h | |
parent | core: nfp: Implement amiibo encryption (diff) | |
download | yuzu-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.h | 4 |
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; |