Преглед на файлове

android: Don't reload filesystem on update install

t895 преди 2 години
родител
ревизия
08be9cff0f
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      src/android/app/src/main/jni/native.cpp

+ 0 - 3
src/android/app/src/main/jni/native.cpp

@@ -123,9 +123,6 @@ int EmulationSession::InstallFileToNand(std::string filename, std::string file_e
         ErrorFilenameExtension = 4,
     };
 
-    m_system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>());
-    m_system.GetFileSystemController().CreateFactories(*m_vfs);
-
     [[maybe_unused]] std::shared_ptr<FileSys::NSP> nsp;
     if (file_extension == "nsp") {
         nsp = std::make_shared<FileSys::NSP>(m_vfs->OpenFile(filename, FileSys::Mode::Read));