summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2018-03-19 16:29:03 -0400
committerGravatar GitHub2018-03-19 16:29:03 -0400
commita90ab1dec7b4b4cefc73115310dec57363114a05 (patch)
tree45ebd96f672851f816aca4b09b599df5ee8f8c5c /src/core/core.cpp
parentMerge pull request #251 from Subv/tic_tsc (diff)
parentClang Fixes (diff)
downloadyuzu-a90ab1dec7b4b4cefc73115310dec57363114a05.tar.gz
yuzu-a90ab1dec7b4b4cefc73115310dec57363114a05.tar.xz
yuzu-a90ab1dec7b4b4cefc73115310dec57363114a05.zip
Merge pull request #252 from N00byKing/3064
Implement Pull #3064 from citra: Clean all format warnings (Yuzu-specific format warnings cleared too)
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 183c5109c..d55621de8 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -99,14 +99,15 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file
99 99
100 ResultStatus init_result{Init(emu_window, system_mode.first.get())}; 100 ResultStatus init_result{Init(emu_window, system_mode.first.get())};
101 if (init_result != ResultStatus::Success) { 101 if (init_result != ResultStatus::Success) {
102 LOG_CRITICAL(Core, "Failed to initialize system (Error %i)!", init_result); 102 LOG_CRITICAL(Core, "Failed to initialize system (Error %i)!",
103 static_cast<int>(init_result));
103 System::Shutdown(); 104 System::Shutdown();
104 return init_result; 105 return init_result;
105 } 106 }
106 107
107 const Loader::ResultStatus load_result{app_loader->Load(current_process)}; 108 const Loader::ResultStatus load_result{app_loader->Load(current_process)};
108 if (Loader::ResultStatus::Success != load_result) { 109 if (Loader::ResultStatus::Success != load_result) {
109 LOG_CRITICAL(Core, "Failed to load ROM (Error %i)!", load_result); 110 LOG_CRITICAL(Core, "Failed to load ROM (Error %i)!", static_cast<int>(load_result));
110 System::Shutdown(); 111 System::Shutdown();
111 112
112 switch (load_result) { 113 switch (load_result) {