diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/game_list.cpp | 3 | ||||
| -rw-r--r-- | src/yuzu/main.cpp | 12 |
2 files changed, 10 insertions, 5 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index f186ef722..b0ca766ec 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp | |||
| @@ -470,6 +470,7 @@ void GameList::RefreshGameDirectory() { | |||
| 470 | if (!UISettings::values.game_directory_path.isEmpty() && current_worker != nullptr) { | 470 | if (!UISettings::values.game_directory_path.isEmpty() && current_worker != nullptr) { |
| 471 | LOG_INFO(Frontend, "Change detected in the games directory. Reloading game list."); | 471 | LOG_INFO(Frontend, "Change detected in the games directory. Reloading game list."); |
| 472 | search_field->clear(); | 472 | search_field->clear(); |
| 473 | PopulateAsync(UISettings::values.game_directory_path, UISettings::values.game_directory_deepscan); | 473 | PopulateAsync(UISettings::values.game_directory_path, |
| 474 | UISettings::values.game_directory_deepscan); | ||
| 474 | } | 475 | } |
| 475 | } | 476 | } |
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 4ca5b9a86..588f53860 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -213,7 +213,8 @@ GMainWindow::GMainWindow() | |||
| 213 | OnReinitializeKeys(ReinitializeKeyBehavior::NoWarning); | 213 | OnReinitializeKeys(ReinitializeKeyBehavior::NoWarning); |
| 214 | 214 | ||
| 215 | game_list->LoadCompatibilityList(); | 215 | game_list->LoadCompatibilityList(); |
| 216 | game_list->PopulateAsync(UISettings::values.game_directory_path, UISettings::values.game_directory_deepscan); | 216 | game_list->PopulateAsync(UISettings::values.game_directory_path, |
| 217 | UISettings::values.game_directory_deepscan); | ||
| 217 | 218 | ||
| 218 | // Show one-time "callout" messages to the user | 219 | // Show one-time "callout" messages to the user |
| 219 | ShowTelemetryCallout(); | 220 | ShowTelemetryCallout(); |
| @@ -1367,7 +1368,8 @@ void GMainWindow::OnMenuInstallToNAND() { | |||
| 1367 | const auto success = [this]() { | 1368 | const auto success = [this]() { |
| 1368 | QMessageBox::information(this, tr("Successfully Installed"), | 1369 | QMessageBox::information(this, tr("Successfully Installed"), |
| 1369 | tr("The file was successfully installed.")); | 1370 | tr("The file was successfully installed.")); |
| 1370 | game_list->PopulateAsync(UISettings::values.game_directory_path, UISettings::values.game_directory_deepscan); | 1371 | game_list->PopulateAsync(UISettings::values.game_directory_path, |
| 1372 | UISettings::values.game_directory_deepscan); | ||
| 1371 | }; | 1373 | }; |
| 1372 | 1374 | ||
| 1373 | const auto failed = [this]() { | 1375 | const auto failed = [this]() { |
| @@ -1517,7 +1519,8 @@ void GMainWindow::OnMenuSelectEmulatedDirectory(EmulatedDirectoryTarget target) | |||
| 1517 | : FileUtil::UserPath::NANDDir, | 1519 | : FileUtil::UserPath::NANDDir, |
| 1518 | dir_path.toStdString()); | 1520 | dir_path.toStdString()); |
| 1519 | Service::FileSystem::CreateFactories(*vfs); | 1521 | Service::FileSystem::CreateFactories(*vfs); |
| 1520 | game_list->PopulateAsync(UISettings::values.game_directory_path, UISettings::values.game_directory_deepscan); | 1522 | game_list->PopulateAsync(UISettings::values.game_directory_path, |
| 1523 | UISettings::values.game_directory_deepscan); | ||
| 1521 | } | 1524 | } |
| 1522 | } | 1525 | } |
| 1523 | 1526 | ||
| @@ -1920,7 +1923,8 @@ void GMainWindow::OnReinitializeKeys(ReinitializeKeyBehavior behavior) { | |||
| 1920 | Service::FileSystem::CreateFactories(*vfs); | 1923 | Service::FileSystem::CreateFactories(*vfs); |
| 1921 | 1924 | ||
| 1922 | if (behavior == ReinitializeKeyBehavior::Warning) { | 1925 | if (behavior == ReinitializeKeyBehavior::Warning) { |
| 1923 | game_list->PopulateAsync(UISettings::values.game_directory_path, UISettings::values.game_directory_deepscan); | 1926 | game_list->PopulateAsync(UISettings::values.game_directory_path, |
| 1927 | UISettings::values.game_directory_deepscan); | ||
| 1924 | } | 1928 | } |
| 1925 | } | 1929 | } |
| 1926 | 1930 | ||