diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-04-14 04:24:35 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-04-14 06:24:27 +0200 |
commit | 101c0df79ca31aa950c340812f09cdeadbb89732 (patch) | |
tree | e85d93096d94afd676da6d65199e6d37dd849ba4 /src/core/hle/service/nfp/nfp_interface.h | |
parent | Merge pull request #10008 from vonchenplus/texture_cache (diff) | |
download | yuzu-101c0df79ca31aa950c340812f09cdeadbb89732.tar yuzu-101c0df79ca31aa950c340812f09cdeadbb89732.tar.gz yuzu-101c0df79ca31aa950c340812f09cdeadbb89732.tar.bz2 yuzu-101c0df79ca31aa950c340812f09cdeadbb89732.tar.lz yuzu-101c0df79ca31aa950c340812f09cdeadbb89732.tar.xz yuzu-101c0df79ca31aa950c340812f09cdeadbb89732.tar.zst yuzu-101c0df79ca31aa950c340812f09cdeadbb89732.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nfp/nfp_interface.h (renamed from src/core/hle/service/nfp/nfp_user.h) | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/hle/service/nfp/nfp_user.h b/src/core/hle/service/nfp/nfp_interface.h index 1f3ff2ea8..11f29c2ba 100644 --- a/src/core/hle/service/nfp/nfp_user.h +++ b/src/core/hle/service/nfp/nfp_interface.h @@ -13,16 +13,10 @@ namespace Service::NFP { class NfpDevice; -class IUser final : public ServiceFramework<IUser> { +class Interface : public ServiceFramework<Interface> { public: - explicit IUser(Core::System& system_); - ~IUser(); - -private: - enum class State : u32 { - NonInitialized, - Initialized, - }; + explicit Interface(Core::System& system_, const char* name); + ~Interface() override; void Initialize(HLERequestContext& ctx); void Finalize(HLERequestContext& ctx); @@ -50,6 +44,12 @@ private: void AttachAvailabilityChangeEvent(HLERequestContext& ctx); void RecreateApplicationArea(HLERequestContext& ctx); +private: + enum class State : u32 { + NonInitialized, + Initialized, + }; + std::optional<std::shared_ptr<NfpDevice>> GetNfpDevice(u64 handle); KernelHelpers::ServiceContext service_context; |