VERY experimental Nintendo Switch 2 emulator
C++
Merge pull request #2667 from DarkLordZach/profile-editor
bunnei5edd2960f7e8
diff --cc src/core/hle/service/acc/acc.hindex f651773b7b,69e4f34fc6..7a7dc9ec62--- a/src/core/hle/service/acc/acc.h+++ b/src/core/hle/service/acc/acc.h@@@ -32,27 -30,8 +32,28 @@@ publicvoid IsUserRegistrationRequestPermitted(Kernel::HLERequestContext& ctx);void TrySelectUserWithoutInteraction(Kernel::HLERequestContext& ctx);void IsUserAccountSwitchLocked(Kernel::HLERequestContext& ctx);+ void GetProfileEditor(Kernel::HLERequestContext& ctx);+ private:+ ResultCode InitializeApplicationInfoBase(u64 process_id);++ enum class ApplicationType : u32_le {+ GameCard = 0,+ Digital = 1,+ Unknown = 3,+ };++ struct ApplicationInfo {+ Service::Glue::ApplicationLaunchProperty launch_property;+ ApplicationType application_type;++ constexpr explicit operator bool() const {+ return launch_property.title_id != 0x0;+ }+ };++ ApplicationInfo application_info{};+protected:std::shared_ptr<Module> module;std::shared_ptr<ProfileManager> profile_manager;