diff options
author | Kloen <kloen@outlawkiwi.com> | 2017-01-29 18:09:33 +0100 |
---|---|---|
committer | Kloen <kloen@outlawkiwi.com> | 2017-01-29 22:02:01 +0100 |
commit | 28da285031e0c86b2d2cd44971664ab6691767a0 (patch) | |
tree | a8cc2d4530ad4b6c7224e36c3ae387277d534f9a /src | |
parent | core: fix err_f.cpp warning about unhandled enumeration value on OSX (diff) | |
download | yuzu-28da285031e0c86b2d2cd44971664ab6691767a0.tar yuzu-28da285031e0c86b2d2cd44971664ab6691767a0.tar.gz yuzu-28da285031e0c86b2d2cd44971664ab6691767a0.tar.bz2 yuzu-28da285031e0c86b2d2cd44971664ab6691767a0.tar.lz yuzu-28da285031e0c86b2d2cd44971664ab6691767a0.tar.xz yuzu-28da285031e0c86b2d2cd44971664ab6691767a0.tar.zst yuzu-28da285031e0c86b2d2cd44971664ab6691767a0.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/citra/citra.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp index 99c096ac7..76f5caeb1 100644 --- a/src/citra/citra.cpp +++ b/src/citra/citra.cpp @@ -141,6 +141,26 @@ 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 Citra. \n\n For more information on dumping and " + "decrypting games, please refer to: " + "https://citra-emu.org/wiki/Dumping-Game-Cartridges"); + return -1; + case Core::System::ResultStatus::ErrorLoader_ErrorInvalidFormat: + LOG_CRITICAL(Frontend, "Error while loading ROM: The ROM format is not supported."); + return -1; + case Core::System::ResultStatus::ErrorNotInitialized: + LOG_CRITICAL(Frontend, "CPUCore not initialized"); + return -1; + case Core::System::ResultStatus::ErrorSystemMode: + LOG_CRITICAL(Frontend, "Failed to determine system mode!"); + return -1; + case Core::System::ResultStatus::ErrorVideoCore: + LOG_CRITICAL(Frontend, "VideoCore not initialized"); + return -1; + case Core::System::ResultStatus::Success: + break; // Expected case } while (emu_window->IsOpen()) { |