summaryrefslogtreecommitdiffstats
path: root/src/core/loader
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-12-02 05:39:48 +0100
committerLiam <byteslice@airmail.cc>2023-12-02 05:39:48 +0100
commit45b6161582e0dd5b54fd3c06b3176f5b32ca10aa (patch)
treeeeef2fc18a459377ab40e9fb36810b08fd31c11b /src/core/loader
parentMerge pull request #12255 from german77/amiibo (diff)
downloadyuzu-45b6161582e0dd5b54fd3c06b3176f5b32ca10aa.tar
yuzu-45b6161582e0dd5b54fd3c06b3176f5b32ca10aa.tar.gz
yuzu-45b6161582e0dd5b54fd3c06b3176f5b32ca10aa.tar.bz2
yuzu-45b6161582e0dd5b54fd3c06b3176f5b32ca10aa.tar.lz
yuzu-45b6161582e0dd5b54fd3c06b3176f5b32ca10aa.tar.xz
yuzu-45b6161582e0dd5b54fd3c06b3176f5b32ca10aa.tar.zst
yuzu-45b6161582e0dd5b54fd3c06b3176f5b32ca10aa.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/nca.cpp6
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
return load_result;
}
- if (nca->GetRomFS() != nullptr && nca->GetRomFS()->GetSize() > 0) {
- system.GetFileSystemController().RegisterRomFS(std::make_unique<FileSys::RomFSFactory>(
- *this, system.GetContentProvider(), system.GetFileSystemController()));
- }
+ system.GetFileSystemController().RegisterRomFS(std::make_unique<FileSys::RomFSFactory>(
+ *this, system.GetContentProvider(), system.GetFileSystemController()));
is_loaded = true;
return load_result;