diff options
| author | 2018-07-02 10:13:26 -0600 | |
|---|---|---|
| committer | 2018-07-02 21:45:47 -0400 | |
| commit | 638956aa81de255bf4bbd4e69a717eabf4ceadb9 (patch) | |
| tree | 5783dda790575e047fa757d8c56e11f3fffe7646 /src/yuzu_cmd/yuzu.cpp | |
| parent | Merge pull request #608 from Subv/depth (diff) | |
| download | yuzu-638956aa81de255bf4bbd4e69a717eabf4ceadb9.tar.gz yuzu-638956aa81de255bf4bbd4e69a717eabf4ceadb9.tar.xz yuzu-638956aa81de255bf4bbd4e69a717eabf4ceadb9.zip | |
Rename logging macro back to LOG_*
Diffstat (limited to 'src/yuzu_cmd/yuzu.cpp')
| -rw-r--r-- | src/yuzu_cmd/yuzu.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp index 95e568b7b..91b024819 100644 --- a/src/yuzu_cmd/yuzu.cpp +++ b/src/yuzu_cmd/yuzu.cpp | |||
| @@ -69,7 +69,7 @@ int main(int argc, char** argv) { | |||
| 69 | auto argv_w = CommandLineToArgvW(GetCommandLineW(), &argc_w); | 69 | auto argv_w = CommandLineToArgvW(GetCommandLineW(), &argc_w); |
| 70 | 70 | ||
| 71 | if (argv_w == nullptr) { | 71 | if (argv_w == nullptr) { |
| 72 | NGLOG_CRITICAL(Frontend, "Failed to get command line arguments"); | 72 | LOG_CRITICAL(Frontend, "Failed to get command line arguments"); |
| 73 | return -1; | 73 | return -1; |
| 74 | } | 74 | } |
| 75 | #endif | 75 | #endif |
| @@ -102,7 +102,7 @@ int main(int argc, char** argv) { | |||
| 102 | break; | 102 | break; |
| 103 | case 'f': | 103 | case 'f': |
| 104 | fullscreen = true; | 104 | fullscreen = true; |
| 105 | NGLOG_INFO(Frontend, "Starting in fullscreen mode..."); | 105 | LOG_INFO(Frontend, "Starting in fullscreen mode..."); |
| 106 | break; | 106 | break; |
| 107 | case 'h': | 107 | case 'h': |
| 108 | PrintHelp(argv[0]); | 108 | PrintHelp(argv[0]); |
| @@ -132,7 +132,7 @@ int main(int argc, char** argv) { | |||
| 132 | SCOPE_EXIT({ MicroProfileShutdown(); }); | 132 | SCOPE_EXIT({ MicroProfileShutdown(); }); |
| 133 | 133 | ||
| 134 | if (filepath.empty()) { | 134 | if (filepath.empty()) { |
| 135 | NGLOG_CRITICAL(Frontend, "Failed to load ROM: No ROM specified"); | 135 | LOG_CRITICAL(Frontend, "Failed to load ROM: No ROM specified"); |
| 136 | return -1; | 136 | return -1; |
| 137 | } | 137 | } |
| 138 | 138 | ||
| @@ -153,28 +153,28 @@ int main(int argc, char** argv) { | |||
| 153 | 153 | ||
| 154 | switch (load_result) { | 154 | switch (load_result) { |
| 155 | case Core::System::ResultStatus::ErrorGetLoader: | 155 | case Core::System::ResultStatus::ErrorGetLoader: |
| 156 | NGLOG_CRITICAL(Frontend, "Failed to obtain loader for %s!", filepath.c_str()); | 156 | LOG_CRITICAL(Frontend, "Failed to obtain loader for %s!", filepath.c_str()); |
| 157 | return -1; | 157 | return -1; |
| 158 | case Core::System::ResultStatus::ErrorLoader: | 158 | case Core::System::ResultStatus::ErrorLoader: |
| 159 | NGLOG_CRITICAL(Frontend, "Failed to load ROM!"); | 159 | LOG_CRITICAL(Frontend, "Failed to load ROM!"); |
| 160 | return -1; | 160 | return -1; |
| 161 | case Core::System::ResultStatus::ErrorLoader_ErrorEncrypted: | 161 | case Core::System::ResultStatus::ErrorLoader_ErrorEncrypted: |
| 162 | NGLOG_CRITICAL(Frontend, "The game that you are trying to load must be decrypted before " | 162 | LOG_CRITICAL(Frontend, "The game that you are trying to load must be decrypted before " |
| 163 | "being used with yuzu. \n\n For more information on dumping and " | 163 | "being used with yuzu. \n\n For more information on dumping and " |
| 164 | "decrypting games, please refer to: " | 164 | "decrypting games, please refer to: " |
| 165 | "https://yuzu-emu.org/wiki/dumping-game-cartridges/"); | 165 | "https://yuzu-emu.org/wiki/dumping-game-cartridges/"); |
| 166 | return -1; | 166 | return -1; |
| 167 | case Core::System::ResultStatus::ErrorLoader_ErrorInvalidFormat: | 167 | case Core::System::ResultStatus::ErrorLoader_ErrorInvalidFormat: |
| 168 | NGLOG_CRITICAL(Frontend, "Error while loading ROM: The ROM format is not supported."); | 168 | LOG_CRITICAL(Frontend, "Error while loading ROM: The ROM format is not supported."); |
| 169 | return -1; | 169 | return -1; |
| 170 | case Core::System::ResultStatus::ErrorNotInitialized: | 170 | case Core::System::ResultStatus::ErrorNotInitialized: |
| 171 | NGLOG_CRITICAL(Frontend, "CPUCore not initialized"); | 171 | LOG_CRITICAL(Frontend, "CPUCore not initialized"); |
| 172 | return -1; | 172 | return -1; |
| 173 | case Core::System::ResultStatus::ErrorSystemMode: | 173 | case Core::System::ResultStatus::ErrorSystemMode: |
| 174 | NGLOG_CRITICAL(Frontend, "Failed to determine system mode!"); | 174 | LOG_CRITICAL(Frontend, "Failed to determine system mode!"); |
| 175 | return -1; | 175 | return -1; |
| 176 | case Core::System::ResultStatus::ErrorVideoCore: | 176 | case Core::System::ResultStatus::ErrorVideoCore: |
| 177 | NGLOG_CRITICAL(Frontend, "VideoCore not initialized"); | 177 | LOG_CRITICAL(Frontend, "VideoCore not initialized"); |
| 178 | return -1; | 178 | return -1; |
| 179 | case Core::System::ResultStatus::Success: | 179 | case Core::System::ResultStatus::Success: |
| 180 | break; // Expected case | 180 | break; // Expected case |