diff options
| author | 2017-04-13 01:18:54 -0400 | |
|---|---|---|
| committer | 2017-06-02 18:28:14 -0400 | |
| commit | a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7 (patch) | |
| tree | 37a7edc6a27eff75c96117203f48c9f1ec640b97 /src/core/core.cpp | |
| parent | Optimized messages that were repetitive and added ability for core errors to ... (diff) | |
| download | yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.gz yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.tar.xz yuzu-a8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7.zip | |
Created a whitelist of system archives to prevent false positives creating dialogs.
Diffstat (limited to 'src/core/core.cpp')
| -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 @@ | |||
| 4 | 4 | ||
| 5 | #include <memory> | 5 | #include <memory> |
| 6 | #include <utility> | 6 | #include <utility> |
| 7 | |||
| 8 | #include <boost/optional.hpp> | ||
| 9 | |||
| 10 | #include "audio_core/audio_core.h" | 7 | #include "audio_core/audio_core.h" |
| 11 | #include "common/logging/log.h" | 8 | #include "common/logging/log.h" |
| 12 | #include "core/arm/arm_interface.h" | 9 | #include "core/arm/arm_interface.h" |
| @@ -81,7 +78,8 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file | |||
| 81 | app_loader->LoadKernelSystemMode(); | 78 | app_loader->LoadKernelSystemMode(); |
| 82 | 79 | ||
| 83 | if (system_mode.second != Loader::ResultStatus::Success) { | 80 | if (system_mode.second != Loader::ResultStatus::Success) { |
| 84 | LOG_CRITICAL(Core, "Failed to determine system mode (Error %i)!", system_mode.second); | 81 | LOG_CRITICAL(Core, "Failed to determine system mode (Error %i)!", |
| 82 | static_cast<int>(system_mode.second)); | ||
| 85 | System::Shutdown(); | 83 | System::Shutdown(); |
| 86 | 84 | ||
| 87 | switch (system_mode.second) { | 85 | switch (system_mode.second) { |