Merge pull request #72 from N00byKing/patch-2

Implement Pull #3275 from citra: core: Don't Shutdown before we've even Init-ed
This commit is contained in:
bunnei 2018-01-20 23:11:10 -05:00 committed by GitHub
commit d904b0db58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,6 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file
if (system_mode.second != Loader::ResultStatus::Success) { if (system_mode.second != Loader::ResultStatus::Success) {
LOG_CRITICAL(Core, "Failed to determine system mode (Error %i)!", LOG_CRITICAL(Core, "Failed to determine system mode (Error %i)!",
static_cast<int>(system_mode.second)); static_cast<int>(system_mode.second));
System::Shutdown();
switch (system_mode.second) { switch (system_mode.second) {
case Loader::ResultStatus::ErrorEncrypted: case Loader::ResultStatus::ErrorEncrypted: