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 | bb2083fd8d2fd86104e793ac1120034bfeaeb2cf (patch) | |
| tree | 45ebd96f672851f816aca4b09b599df5ee8f8c5c /src/core/core.cpp | |
| parent | 70d45b2a59c1c93abd2deee71e75ab30448b0d46 (diff) | |
| parent | d3bdad2aaa4705483e2d09020e4b22a735e112da (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 183c5109c8..d55621de86 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) { |
