diff options
author | german77 <juangerman-13@hotmail.com> | 2023-04-09 20:44:27 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:50 +0200 |
commit | f9974f7ef380009e3d17f65bd1dccf28176433a6 (patch) | |
tree | 0e550688c0dfabb36ca6e5af9ab169d473db3d51 /src | |
parent | android: Remove unsafe null check (diff) | |
download | yuzu-f9974f7ef380009e3d17f65bd1dccf28176433a6.tar yuzu-f9974f7ef380009e3d17f65bd1dccf28176433a6.tar.gz yuzu-f9974f7ef380009e3d17f65bd1dccf28176433a6.tar.bz2 yuzu-f9974f7ef380009e3d17f65bd1dccf28176433a6.tar.lz yuzu-f9974f7ef380009e3d17f65bd1dccf28176433a6.tar.xz yuzu-f9974f7ef380009e3d17f65bd1dccf28176433a6.tar.zst yuzu-f9974f7ef380009e3d17f65bd1dccf28176433a6.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/android/app/src/main/jni/native.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp index a170b57aa..55736bce2 100644 --- a/src/android/app/src/main/jni/native.cpp +++ b/src/android/app/src/main/jni/native.cpp @@ -38,6 +38,7 @@ #include "core/frontend/applets/software_keyboard.h" #include "core/frontend/applets/web_browser.h" #include "core/hid/hid_core.h" +#include "core/hle/service/acc/profile_manager.h" #include "core/hle/service/am/applet_ae.h" #include "core/hle/service/am/applet_oe.h" #include "core/hle/service/am/applets/applets.h" @@ -169,6 +170,9 @@ public: }); m_system.GetFileSystemController().CreateFactories(*m_system.GetFilesystem()); + // Initialize account manager + m_profile_manager = std::make_unique<Service::Account::ProfileManager>(); + // Load the ROM. m_load_result = m_system.Load(EmulationSession::GetInstance().Window(), filepath); if (m_load_result != Core::SystemResultStatus::Success) { @@ -310,6 +314,7 @@ private: Core::SystemResultStatus m_load_result{Core::SystemResultStatus::ErrorNotInitialized}; bool m_is_running{}; SoftwareKeyboard::AndroidKeyboard* m_software_keyboard{}; + std::unique_ptr<Service::Account::ProfileManager> m_profile_manager; // GPU driver parameters std::shared_ptr<Common::DynamicLibrary> m_vulkan_library; |