diff options
| author | bunnei <bunneidev@gmail.com> | 2022-10-18 19:12:18 -0700 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2022-10-18 19:13:35 -0700 |
| commit | e3cb70d8df16724fb687566a8fb3bd9c82d2de99 (patch) | |
| tree | 5762c5e991105095bb99f4d7b66d640e0959011a /src/core/core.cpp | |
| parent | 438c1b5c18f42759eae18404cd061d292199c04a (diff) | |
core: Initialize: Add missing braces.
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 622a20510c..7fb8bc0195 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -148,10 +148,12 @@ struct System::Impl { Settings::values.custom_rtc.value_or(current_time) - current_time; // Create a default fs if one doesn't already exist. - if (virtual_filesystem == nullptr) + if (virtual_filesystem == nullptr) { virtual_filesystem = std::make_shared<FileSys::RealVfsFilesystem>(); - if (content_provider == nullptr) + } + if (content_provider == nullptr) { content_provider = std::make_unique<FileSys::ContentProviderUnion>(); + } // Create default implementations of applets if one is not provided. applet_manager.SetDefaultAppletsIfMissing(); |
