summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar liamwhite2023-12-02 09:28:38 -0500
committerGravatar GitHub2023-12-02 09:28:38 -0500
commit0ed292568ff02eb4ce31b2876bd79135f02f3dba (patch)
treec15ccf16c0372a147344233072de9f99a75a1c3f
parentMerge pull request #12259 from jbeich/freebsd-mmap (diff)
parentandroid: Don't reload filesystem on update install (diff)
downloadyuzu-0ed292568ff02eb4ce31b2876bd79135f02f3dba.tar.gz
yuzu-0ed292568ff02eb4ce31b2876bd79135f02f3dba.tar.xz
yuzu-0ed292568ff02eb4ce31b2876bd79135f02f3dba.zip
Merge pull request #12260 from t895/install-reload-fix
android: Don't reload filesystem on update install
Diffstat (limited to '')
-rw-r--r--src/android/app/src/main/jni/native.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp
index ed5ce6f8a..3d795b57f 100644
--- a/src/android/app/src/main/jni/native.cpp
+++ b/src/android/app/src/main/jni/native.cpp
@@ -123,9 +123,6 @@ int EmulationSession::InstallFileToNand(std::string filename, std::string file_e
123 ErrorFilenameExtension = 4, 123 ErrorFilenameExtension = 4,
124 }; 124 };
125 125
126 m_system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>());
127 m_system.GetFileSystemController().CreateFactories(*m_vfs);
128
129 [[maybe_unused]] std::shared_ptr<FileSys::NSP> nsp; 126 [[maybe_unused]] std::shared_ptr<FileSys::NSP> nsp;
130 if (file_extension == "nsp") { 127 if (file_extension == "nsp") {
131 nsp = std::make_shared<FileSys::NSP>(m_vfs->OpenFile(filename, FileSys::Mode::Read)); 128 nsp = std::make_shared<FileSys::NSP>(m_vfs->OpenFile(filename, FileSys::Mode::Read));