diff options
Diffstat (limited to 'src/qt_common')
| -rw-r--r-- | src/qt_common/config/shared_translation.cpp | 5 | ||||
| -rw-r--r-- | src/qt_common/game_list/worker.cpp | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/qt_common/config/shared_translation.cpp b/src/qt_common/config/shared_translation.cpp index c5907e1b65..342cc725c0 100644 --- a/src/qt_common/config/shared_translation.cpp +++ b/src/qt_common/config/shared_translation.cpp @@ -149,6 +149,11 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QObject* parent) { tr("Strength of RCAS (AMD's contrast-adaptive sharpening) on the upscaler used in place " "of a game's DLSS (AMD FSR 3.1); 0% turns it off.\nAlso sets the sharpening " "of the AMD FSR 1 and SGSR window adapting filters.")); + INSERT(Settings, nvidia_dlss, tr("Use NVIDIA DLSS in place of a game's DLSS"), + tr("Uses NVIDIA DLSS on GeForce RTX cards in place of a Switch 2 game's own DLSS, " + "instead of AMD FSR 3.1.\nNeeds NVIDIA's Streamline loader, and NVIDIA DLSS unless " + "the NVIDIA app has downloaded it; Eglantine does not ship NVIDIA's files. Use the " + "download button below.\nTakes effect when a game starts.")); INSERT(Settings, anti_aliasing, tr("Anti-Aliasing Method:"), tr("The anti-aliasing method to use.\nSMAA offers the best quality.\nFXAA " "can produce a more stable picture in lower resolutions.")); diff --git a/src/qt_common/game_list/worker.cpp b/src/qt_common/game_list/worker.cpp index bd3d81dac4..329fc06990 100644 --- a/src/qt_common/game_list/worker.cpp +++ b/src/qt_common/game_list/worker.cpp @@ -18,6 +18,7 @@ #include <QSettings> #include "common/fs/fs.h" +#include "common/fs/fs_util.h" #include "common/fs/path_util.h" #include "common/settings.h" #include "core/core.h" @@ -552,7 +553,7 @@ void GameListWorker::run() { DirEntryReady(game_list_dir); if (scan) { const auto discovery = GameListDiscovery::Discover( - std::filesystem::u8path(game_dir.path), game_dir.deep_scan, + std::filesystem::path(Common::FS::ToU8String(game_dir.path)), game_dir.deep_scan, [](const auto& path) { const auto name = Common::FS::PathToUTF8String(path); return HasSupportedFileExtension(name) || IsExtractedNCAMain(name); |
