diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-19 16:29:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-19 16:29:03 -0400 |
commit | a90ab1dec7b4b4cefc73115310dec57363114a05 (patch) | |
tree | 45ebd96f672851f816aca4b09b599df5ee8f8c5c /src/core/core.cpp | |
parent | b2d7c92caee6f916ac9b3aa3476a5ceafc8e6e0f (diff) | |
parent | 1d8b6ad13b4808034298b856c24a78d4d87acac2 (diff) |
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.cpp | 5 |
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 ResultStatus init_result{Init(emu_window, system_mode.first.get())}; if (init_result != ResultStatus::Success) { - LOG_CRITICAL(Core, "Failed to initialize system (Error %i)!", init_result); + LOG_CRITICAL(Core, "Failed to initialize system (Error %i)!", + static_cast<int>(init_result)); System::Shutdown(); return init_result; } const Loader::ResultStatus load_result{app_loader->Load(current_process)}; if (Loader::ResultStatus::Success != load_result) { - LOG_CRITICAL(Core, "Failed to load ROM (Error %i)!", load_result); + LOG_CRITICAL(Core, "Failed to load ROM (Error %i)!", static_cast<int>(load_result)); System::Shutdown(); switch (load_result) { |