aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorTheKoopaKingdom <thekoopakingdom@gmail.com>2017-04-13 01:18:54 -0400
committerTheKoopaKingdom <thekoopakingdom@gmail.com>2017-06-02 18:28:14 -0400
commita8aef599e02e336f9ecb8d5cfc50aa856ea0a1c7 (patch)
tree37a7edc6a27eff75c96117203f48c9f1ec640b97 /src/core/core.cpp
parent0409bdfea5ea046e3d040ab494b8a0764fd35424 (diff)
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.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 2a9664cb4d..2456d8aa2b 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) {