diff options
Diffstat (limited to 'src/core/file_sys')
| -rw-r--r-- | src/core/file_sys/bis_factory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/bis_factory.cpp b/src/core/file_sys/bis_factory.cpp index cbeb2f73a..6cd0a98eb 100644 --- a/src/core/file_sys/bis_factory.cpp +++ b/src/core/file_sys/bis_factory.cpp | |||
| @@ -48,7 +48,7 @@ PlaceholderCache* BISFactory::GetUserNANDPlaceholder() const { | |||
| 48 | 48 | ||
| 49 | VirtualDir BISFactory::GetModificationLoadRoot(u64 title_id) const { | 49 | VirtualDir BISFactory::GetModificationLoadRoot(u64 title_id) const { |
| 50 | // LayeredFS doesn't work on updates and title id-less homebrew | 50 | // LayeredFS doesn't work on updates and title id-less homebrew |
| 51 | if (title_id == 0 || (title_id & 0x800) > 0) | 51 | if (title_id == 0 || (title_id & 0xFFF) == 0x800) |
| 52 | return nullptr; | 52 | return nullptr; |
| 53 | return GetOrCreateDirectoryRelative(load_root, fmt::format("/{:016X}", title_id)); | 53 | return GetOrCreateDirectoryRelative(load_root, fmt::format("/{:016X}", title_id)); |
| 54 | } | 54 | } |