mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-09 04:10:05 +00:00
Fix per game settings not working with artic loader
This commit is contained in:
parent
194f5273ad
commit
1cfd63b140
1 changed files with 8 additions and 1 deletions
|
@ -151,7 +151,14 @@ void ConfigurePerGame::LoadConfiguration() {
|
||||||
ui->display_title_id->setText(
|
ui->display_title_id->setText(
|
||||||
QStringLiteral("%1").arg(title_id, 16, 16, QLatin1Char{'0'}).toUpper());
|
QStringLiteral("%1").arg(title_id, 16, 16, QLatin1Char{'0'}).toUpper());
|
||||||
|
|
||||||
const auto loader = Loader::GetLoader(filename);
|
std::unique_ptr<Loader::AppLoader> loader_ptr;
|
||||||
|
Loader::AppLoader* loader;
|
||||||
|
if (system.IsPoweredOn()) {
|
||||||
|
loader = &system.GetAppLoader();
|
||||||
|
} else {
|
||||||
|
loader_ptr = Loader::GetLoader(filename);
|
||||||
|
loader = loader_ptr.get();
|
||||||
|
}
|
||||||
|
|
||||||
std::string title;
|
std::string title;
|
||||||
if (loader->ReadTitle(title) == Loader::ResultStatus::Success)
|
if (loader->ReadTitle(title) == Loader::ResultStatus::Success)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue