summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2016-12-17 01:20:47 -0500
committerGravatar bunnei2016-12-21 23:48:14 -0500
commit5ac5cbeab7387b2eabd4618291e223fd7189bb8b (patch)
treee035f870b86f930876a5ced2c1e2be9f6a087a91 /src/core/core.cpp
parentcore: Remove HLE module, consolidate code & various cleanups. (diff)
downloadyuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.gz
yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.xz
yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.zip
Address clang-format issues.
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 67d7cf7b2..fabd3f42a 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -78,20 +78,20 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file
78 return ResultStatus::ErrorGetLoader; 78 return ResultStatus::ErrorGetLoader;
79 } 79 }
80 80
81 boost::optional<u32> system_mode{ app_loader->LoadKernelSystemMode() }; 81 boost::optional<u32> system_mode{app_loader->LoadKernelSystemMode()};
82 if (!system_mode) { 82 if (!system_mode) {
83 LOG_CRITICAL(Core, "Failed to determine system mode!"); 83 LOG_CRITICAL(Core, "Failed to determine system mode!");
84 return ResultStatus::ErrorSystemMode; 84 return ResultStatus::ErrorSystemMode;
85 } 85 }
86 86
87 ResultStatus init_result{ Init(emu_window, system_mode.get()) }; 87 ResultStatus init_result{Init(emu_window, system_mode.get())};
88 if (init_result != ResultStatus::Success) { 88 if (init_result != ResultStatus::Success) {
89 LOG_CRITICAL(Core, "Failed to initialize system (Error %i)!", init_result); 89 LOG_CRITICAL(Core, "Failed to initialize system (Error %i)!", init_result);
90 System::Shutdown(); 90 System::Shutdown();
91 return init_result; 91 return init_result;
92 } 92 }
93 93
94 const Loader::ResultStatus load_result{ app_loader->Load() }; 94 const Loader::ResultStatus load_result{app_loader->Load()};
95 if (Loader::ResultStatus::Success != load_result) { 95 if (Loader::ResultStatus::Success != load_result) {
96 LOG_CRITICAL(Core, "Failed to load ROM (Error %i)!", load_result); 96 LOG_CRITICAL(Core, "Failed to load ROM (Error %i)!", load_result);
97 System::Shutdown(); 97 System::Shutdown();