summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorN00byKing <N00byKing@users.noreply.github.com>2018-04-06 17:06:32 +0200
committerbunnei <bunneidev@gmail.com>2018-04-06 17:06:32 +0200
commit358050cfc6cb88b5bfd3997f1e3f1e135ae808e6 (patch)
tree08887b0c7c7db8277494f9b4b18b9e92b8259283 /src/core/core.cpp
parentMerge pull request #312 from jroweboy/update-fmtlib (diff)
downloadyuzu-358050cfc6cb88b5bfd3997f1e3f1e135ae808e6.tar
yuzu-358050cfc6cb88b5bfd3997f1e3f1e135ae808e6.tar.gz
yuzu-358050cfc6cb88b5bfd3997f1e3f1e135ae808e6.tar.bz2
yuzu-358050cfc6cb88b5bfd3997f1e3f1e135ae808e6.tar.lz
yuzu-358050cfc6cb88b5bfd3997f1e3f1e135ae808e6.tar.xz
yuzu-358050cfc6cb88b5bfd3997f1e3f1e135ae808e6.tar.zst
yuzu-358050cfc6cb88b5bfd3997f1e3f1e135ae808e6.zip
Diffstat (limited to '')
-rw-r--r--src/core/core.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 11654d4da..9f5507a65 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -92,6 +92,8 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file
return ResultStatus::ErrorLoader_ErrorEncrypted;
case Loader::ResultStatus::ErrorInvalidFormat:
return ResultStatus::ErrorLoader_ErrorInvalidFormat;
+ case Loader::ResultStatus::ErrorUnsupportedArch:
+ return ResultStatus::ErrorUnsupportedArch;
default:
return ResultStatus::ErrorSystemMode;
}
@@ -115,6 +117,8 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file
return ResultStatus::ErrorLoader_ErrorEncrypted;
case Loader::ResultStatus::ErrorInvalidFormat:
return ResultStatus::ErrorLoader_ErrorInvalidFormat;
+ case Loader::ResultStatus::ErrorUnsupportedArch:
+ return ResultStatus::ErrorUnsupportedArch;
default:
return ResultStatus::ErrorLoader;
}