summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));