diff options
| author | 2014-12-05 23:53:49 -0200 | |
|---|---|---|
| committer | 2014-12-13 02:08:02 -0200 | |
| commit | 0600e2d8b5b30bd68c8b19cb1f2051e096e7caa9 (patch) | |
| tree | 40fee084c551bfb497e68181447298f862ea68ca /src/citra_qt/main.cpp | |
| parent | Implement text path trimming for shorter paths. (diff) | |
| download | yuzu-0600e2d8b5b30bd68c8b19cb1f2051e096e7caa9.tar.gz yuzu-0600e2d8b5b30bd68c8b19cb1f2051e096e7caa9.tar.xz yuzu-0600e2d8b5b30bd68c8b19cb1f2051e096e7caa9.zip | |
Convert old logging calls to new logging macros
Diffstat (limited to 'src/citra_qt/main.cpp')
| -rw-r--r-- | src/citra_qt/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 2e3025295..5293263cd 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp | |||
| @@ -158,18 +158,18 @@ GMainWindow::~GMainWindow() | |||
| 158 | 158 | ||
| 159 | void GMainWindow::BootGame(std::string filename) | 159 | void GMainWindow::BootGame(std::string filename) |
| 160 | { | 160 | { |
| 161 | NOTICE_LOG(MASTER_LOG, "Citra starting...\n"); | 161 | LOG_INFO(Frontend, "Citra starting...\n"); |
| 162 | System::Init(render_window); | 162 | System::Init(render_window); |
| 163 | 163 | ||
| 164 | if (Core::Init()) { | 164 | if (Core::Init()) { |
| 165 | ERROR_LOG(MASTER_LOG, "Core initialization failed, exiting..."); | 165 | LOG_CRITICAL(Frontend, "Core initialization failed, exiting..."); |
| 166 | Core::Stop(); | 166 | Core::Stop(); |
| 167 | exit(1); | 167 | exit(1); |
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | // Load a game or die... | 170 | // Load a game or die... |
| 171 | if (Loader::ResultStatus::Success != Loader::LoadFile(filename)) { | 171 | if (Loader::ResultStatus::Success != Loader::LoadFile(filename)) { |
| 172 | ERROR_LOG(BOOT, "Failed to load ROM!"); | 172 | LOG_CRITICAL(Frontend, "Failed to load ROM!"); |
| 173 | } | 173 | } |
| 174 | 174 | ||
| 175 | disasmWidget->Init(); | 175 | disasmWidget->Init(); |