diff options
Diffstat (limited to 'src/core/loader')
| -rw-r--r-- | src/core/loader/nca.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/loader/nca.cpp b/src/core/loader/nca.cpp index 4feb6968a..814407535 100644 --- a/src/core/loader/nca.cpp +++ b/src/core/loader/nca.cpp | |||
| @@ -74,10 +74,8 @@ AppLoader_NCA::LoadResult AppLoader_NCA::Load(Kernel::KProcess& process, Core::S | |||
| 74 | return load_result; | 74 | return load_result; |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | if (nca->GetRomFS() != nullptr && nca->GetRomFS()->GetSize() > 0) { | 77 | system.GetFileSystemController().RegisterRomFS(std::make_unique<FileSys::RomFSFactory>( |
| 78 | system.GetFileSystemController().RegisterRomFS(std::make_unique<FileSys::RomFSFactory>( | 78 | *this, system.GetContentProvider(), system.GetFileSystemController())); |
| 79 | *this, system.GetContentProvider(), system.GetFileSystemController())); | ||
| 80 | } | ||
| 81 | 79 | ||
| 82 | is_loaded = true; | 80 | is_loaded = true; |
| 83 | return load_result; | 81 | return load_result; |