CitraQt: Simplify the game list loader code
This commit is contained in:
parent
9a35d1fb4a
commit
314ce5e505
5 changed files with 18 additions and 34 deletions
|
@ -114,7 +114,7 @@ int main(int argc, char **argv) {
|
|||
System::Init(emu_window.get());
|
||||
SCOPE_EXIT({ System::Shutdown(); });
|
||||
|
||||
std::unique_ptr<Loader::AppLoader> loader = Loader::GetFileLoader(boot_filename);
|
||||
std::unique_ptr<Loader::AppLoader> loader = Loader::GetLoader(boot_filename);
|
||||
if (!loader) {
|
||||
LOG_CRITICAL(Frontend, "Failed to obtain loader for %s!", boot_filename.c_str());
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue