diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-19 21:29:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-19 21:29:03 +0100 |
commit | a90ab1dec7b4b4cefc73115310dec57363114a05 (patch) | |
tree | 45ebd96f672851f816aca4b09b599df5ee8f8c5c /src/core/core.cpp | |
parent | Merge pull request #251 from Subv/tic_tsc (diff) | |
parent | Clang Fixes (diff) | |
download | yuzu-a90ab1dec7b4b4cefc73115310dec57363114a05.tar yuzu-a90ab1dec7b4b4cefc73115310dec57363114a05.tar.gz yuzu-a90ab1dec7b4b4cefc73115310dec57363114a05.tar.bz2 yuzu-a90ab1dec7b4b4cefc73115310dec57363114a05.tar.lz yuzu-a90ab1dec7b4b4cefc73115310dec57363114a05.tar.xz yuzu-a90ab1dec7b4b4cefc73115310dec57363114a05.tar.zst yuzu-a90ab1dec7b4b4cefc73115310dec57363114a05.zip |
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) { |