diff options
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 9f9356f53..5098bdcff 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -148,15 +148,6 @@ struct System::Impl { | |||
| 148 | LOG_CRITICAL(Core, "Failed to obtain loader for {}!", filepath); | 148 | LOG_CRITICAL(Core, "Failed to obtain loader for {}!", filepath); |
| 149 | return ResultStatus::ErrorGetLoader; | 149 | return ResultStatus::ErrorGetLoader; |
| 150 | } | 150 | } |
| 151 | std::pair<std::optional<u32>, Loader::ResultStatus> system_mode = | ||
| 152 | app_loader->LoadKernelSystemMode(); | ||
| 153 | |||
| 154 | if (system_mode.second != Loader::ResultStatus::Success) { | ||
| 155 | LOG_CRITICAL(Core, "Failed to determine system mode (Error {})!", | ||
| 156 | static_cast<int>(system_mode.second)); | ||
| 157 | |||
| 158 | return ResultStatus::ErrorSystemMode; | ||
| 159 | } | ||
| 160 | 151 | ||
| 161 | ResultStatus init_result{Init(system, emu_window)}; | 152 | ResultStatus init_result{Init(system, emu_window)}; |
| 162 | if (init_result != ResultStatus::Success) { | 153 | if (init_result != ResultStatus::Success) { |