mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 14:58:11 -05:00
CitraQt: Simplify the game list loader code
This commit is contained in:
@ -272,7 +272,7 @@ bool GMainWindow::InitializeSystem() {
|
||||
}
|
||||
|
||||
bool GMainWindow::LoadROM(const std::string& filename) {
|
||||
std::unique_ptr<Loader::AppLoader> app_loader = Loader::GetFileLoader(filename);
|
||||
std::unique_ptr<Loader::AppLoader> app_loader = Loader::GetLoader(filename);
|
||||
if (!app_loader) {
|
||||
LOG_CRITICAL(Frontend, "Failed to obtain loader for %s!", filename.c_str());
|
||||
QMessageBox::critical(this, tr("Error while loading ROM!"),
|
||||
|
Reference in New Issue
Block a user