summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-06-16 01:59:10 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-28 16:08:08 +0200
commit844e0114b07f38feaf948d66a1336d350cfa6c6d (patch)
tree054ecb8b45f2a550c2f8001a1b3abbd42afb9c04 /src/core/hle
parentcore: Support LayeredFS mod from SDMC directory (diff)
downloadyuzu-844e0114b07f38feaf948d66a1336d350cfa6c6d.tar
yuzu-844e0114b07f38feaf948d66a1336d350cfa6c6d.tar.gz
yuzu-844e0114b07f38feaf948d66a1336d350cfa6c6d.tar.bz2
yuzu-844e0114b07f38feaf948d66a1336d350cfa6c6d.tar.lz
yuzu-844e0114b07f38feaf948d66a1336d350cfa6c6d.tar.xz
yuzu-844e0114b07f38feaf948d66a1336d350cfa6c6d.tar.zst
yuzu-844e0114b07f38feaf948d66a1336d350cfa6c6d.zip
Diffstat (limited to '')
-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 9191f19fe..d66e74d3a 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);
}