aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/filesystem/filesystem.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-06-15 19:59:10 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-28 10:08:08 -0400
commitbc4dc2135e9065fdc246e36bf7256b036a9cc644 (patch)
tree054ecb8b45f2a550c2f8001a1b3abbd42afb9c04 /src/core/hle/service/filesystem/filesystem.cpp
parent329398cd41d0826dfca1f89c440c71055f57cbe8 (diff)
core: Simplify SDMC mod loading
If someone else wants to support other mod formats in the SDMC directory, that can be added later. For now, just allow RomFS modding here and force people to do other types of mods the old way. Addresses review comments. Co-authored-by: LC <mathew1800@gmail.com>
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.cpp')
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index 9191f19fe8..d66e74d3a8 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -706,8 +706,9 @@ FileSys::VirtualDir FileSystemController::GetModificationLoadRoot(u64 title_id)
FileSys::VirtualDir FileSystemController::GetSDMCModificationLoadRoot(u64 title_id) const {
LOG_TRACE(Service_FS, "Opening SDMC mod load root for tid={:016X}", title_id);
- if (sdmc_factory == nullptr)
+ if (sdmc_factory == nullptr) {
return nullptr;
+ }
return sdmc_factory->GetSDMCModificationLoadRoot(title_id);
}