diff options
| author | 2022-10-18 19:12:18 -0700 | |
|---|---|---|
| committer | 2022-10-18 19:13:35 -0700 | |
| commit | a264b54022d97824a5889c711f4977bc4ecdbca3 (patch) | |
| tree | 5762c5e991105095bb99f4d7b66d640e0959011a /src/core/core.cpp | |
| parent | core: core_timing: Re-initialize if single/multicore state changes. (diff) | |
| download | yuzu-a264b54022d97824a5889c711f4977bc4ecdbca3.tar.gz yuzu-a264b54022d97824a5889c711f4977bc4ecdbca3.tar.xz yuzu-a264b54022d97824a5889c711f4977bc4ecdbca3.zip | |
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 622a20510..7fb8bc019 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -148,10 +148,12 @@ struct System::Impl { | |||
| 148 | Settings::values.custom_rtc.value_or(current_time) - current_time; | 148 | Settings::values.custom_rtc.value_or(current_time) - current_time; |
| 149 | 149 | ||
| 150 | // Create a default fs if one doesn't already exist. | 150 | // Create a default fs if one doesn't already exist. |
| 151 | if (virtual_filesystem == nullptr) | 151 | if (virtual_filesystem == nullptr) { |
| 152 | virtual_filesystem = std::make_shared<FileSys::RealVfsFilesystem>(); | 152 | virtual_filesystem = std::make_shared<FileSys::RealVfsFilesystem>(); |
| 153 | if (content_provider == nullptr) | 153 | } |
| 154 | if (content_provider == nullptr) { | ||
| 154 | content_provider = std::make_unique<FileSys::ContentProviderUnion>(); | 155 | content_provider = std::make_unique<FileSys::ContentProviderUnion>(); |
| 156 | } | ||
| 155 | 157 | ||
| 156 | // Create default implementations of applets if one is not provided. | 158 | // Create default implementations of applets if one is not provided. |
| 157 | applet_manager.SetDefaultAppletsIfMissing(); | 159 | applet_manager.SetDefaultAppletsIfMissing(); |