diff options
author | TheKoopaKingdom <thekoopakingdom@gmail.com> | 2017-04-13 07:18:54 +0200 |
---|---|---|
committer | TheKoopaKingdom <thekoopakingdom@gmail.com> | 2017-06-03 00:28:14 +0200 |
commit | a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7 (patch) | |
tree | 37a7edc6a27eff75c96117203f48c9f1ec640b97 /src/core/core.cpp | |
parent | Optimized messages that were repetitive and added ability for core errors to specify more details optionally. (diff) | |
download | yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.gz yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.bz2 yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.lz yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.xz yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.zst yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/core.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 2a9664cb4..2456d8aa2 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -4,9 +4,6 @@ #include <memory> #include <utility> - -#include <boost/optional.hpp> - #include "audio_core/audio_core.h" #include "common/logging/log.h" #include "core/arm/arm_interface.h" @@ -81,7 +78,8 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file app_loader->LoadKernelSystemMode(); if (system_mode.second != Loader::ResultStatus::Success) { - LOG_CRITICAL(Core, "Failed to determine system mode (Error %i)!", system_mode.second); + LOG_CRITICAL(Core, "Failed to determine system mode (Error %i)!", + static_cast<int>(system_mode.second)); System::Shutdown(); switch (system_mode.second) { |