summaryrefslogtreecommitdiff
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/main.cpp')
-rw-r--r--src/citra_qt/main.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 087716c01..0bcce7d16 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -23,9 +23,10 @@
23#include "debugger/graphics_cmdlists.hxx" 23#include "debugger/graphics_cmdlists.hxx"
24 24
25#include "core/system.h" 25#include "core/system.h"
26#include "core/loader.h"
27#include "core/core.h" 26#include "core/core.h"
27#include "core/loader/loader.h"
28#include "core/arm/disassembler/load_symbol_map.h" 28#include "core/arm/disassembler/load_symbol_map.h"
29
29#include "version.h" 30#include "version.h"
30 31
31 32
@@ -134,11 +135,8 @@ void GMainWindow::BootGame(const char* filename)
134 135
135 // Load a game or die... 136 // Load a game or die...
136 std::string boot_filename = filename; 137 std::string boot_filename = filename;
137 std::string error_str; 138 if (Loader::ResultStatus::Success != Loader::LoadFile(boot_filename)) {
138 bool res = Loader::LoadFile(boot_filename, &error_str); 139 ERROR_LOG(BOOT, "Failed to load ROM!");
139
140 if (!res) {
141 ERROR_LOG(BOOT, "Failed to load ROM: %s", error_str.c_str());
142 } 140 }
143 141
144 disasmWidget->Init(); 142 disasmWidget->Init();