diff options
| author | 2016-05-18 22:06:50 +0100 | |
|---|---|---|
| committer | 2016-05-21 17:09:59 +0100 | |
| commit | 314ce5e505aca066ad4d0385be46d7e8de9f6dfb (patch) | |
| tree | e71b47815cf82006ea78b9820b5df5f99f8380b9 /src/citra_qt/main.cpp | |
| parent | Loader: Add a GetFileType method to get the type of a loaded file (diff) | |
| download | yuzu-314ce5e505aca066ad4d0385be46d7e8de9f6dfb.tar.gz yuzu-314ce5e505aca066ad4d0385be46d7e8de9f6dfb.tar.xz yuzu-314ce5e505aca066ad4d0385be46d7e8de9f6dfb.zip | |
CitraQt: Simplify the game list loader code
Diffstat (limited to 'src/citra_qt/main.cpp')
| -rw-r--r-- | src/citra_qt/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 9d47014aa..6239160bc 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp | |||
| @@ -272,7 +272,7 @@ bool GMainWindow::InitializeSystem() { | |||
| 272 | } | 272 | } |
| 273 | 273 | ||
| 274 | bool GMainWindow::LoadROM(const std::string& filename) { | 274 | bool GMainWindow::LoadROM(const std::string& filename) { |
| 275 | std::unique_ptr<Loader::AppLoader> app_loader = Loader::GetFileLoader(filename); | 275 | std::unique_ptr<Loader::AppLoader> app_loader = Loader::GetLoader(filename); |
| 276 | if (!app_loader) { | 276 | if (!app_loader) { |
| 277 | LOG_CRITICAL(Frontend, "Failed to obtain loader for %s!", filename.c_str()); | 277 | LOG_CRITICAL(Frontend, "Failed to obtain loader for %s!", filename.c_str()); |
| 278 | QMessageBox::critical(this, tr("Error while loading ROM!"), | 278 | QMessageBox::critical(this, tr("Error while loading ROM!"), |