summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-07-30 18:46:23 +0200
committerZach Hilman <zachhilman@gmail.com>2018-08-01 06:16:54 +0200
commit187d8e215fb157edaa9f3976bebba9a9a7ed103d (patch)
tree140cbfbd109281adc87c9c79ee07976ba54888cd /src/yuzu_cmd
parentUse static const instead of const static (diff)
downloadyuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.gz
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.bz2
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.lz
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.xz
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.tar.zst
yuzu-187d8e215fb157edaa9f3976bebba9a9a7ed103d.zip
Diffstat (limited to 'src/yuzu_cmd')
-rw-r--r--src/yuzu_cmd/yuzu.cpp14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 97a8e13f0..5970cdb4e 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -173,11 +173,15 @@ int main(int argc, char** argv) {
case Core::System::ResultStatus::ErrorLoader:
LOG_CRITICAL(Frontend, "Failed to load ROM!");
return -1;
- case Core::System::ResultStatus::ErrorLoader_ErrorEncrypted:
- LOG_CRITICAL(Frontend, "The game that you are trying to load must be decrypted before "
- "being used with yuzu. \n\n For more information on dumping and "
- "decrypting games, please refer to: "
- "https://yuzu-emu.org/wiki/dumping-game-cartridges/");
+ case Core::System::ResultStatus::ErrorLoader_ErrorMissingKeys:
+ LOG_CRITICAL(Frontend, "The game you are trying to load is encrypted and the keys required "
+ "could not be found. Please refer to <LINK> for help");
+ return -1;
+ case Core::System::ResultStatus::ErrorLoader_ErrorDecrypting:
+ LOG_CRITICAL(Frontend, "The game you are trying to load is encrypted and there was a "
+ "general error while decrypting. This could mean that the keys are "
+ "incorrect, game is invalid or game uses an unsupported method of "
+ "crypto. Please refer to <LINK> to double-check your keys");
return -1;
case Core::System::ResultStatus::ErrorLoader_ErrorInvalidFormat:
LOG_CRITICAL(Frontend, "Error while loading ROM: The ROM format is not supported.");