FullscreenUI: Fix highlighted option with 'None' background

This commit is contained in:
Stenzek 2025-07-01 19:45:44 +10:00
parent ca322449da
commit c8087204c4
No known key found for this signature in database

View File

@ -1969,7 +1969,7 @@ ChoiceDialogOptions FullscreenUI::GetBackgroundOptions(const TinyString& current
static constexpr const char* dir = FS_OSPATH_SEPARATOR_STR "fullscreenui" FS_OSPATH_SEPARATOR_STR "backgrounds"; static constexpr const char* dir = FS_OSPATH_SEPARATOR_STR "fullscreenui" FS_OSPATH_SEPARATOR_STR "backgrounds";
ChoiceDialogOptions options; ChoiceDialogOptions options;
options.emplace_back(FSUI_STR("None"), current_value.empty()); options.emplace_back(FSUI_STR("None"), current_value == "None");
FileSystem::FindResultsArray results; FileSystem::FindResultsArray results;
FileSystem::FindFiles(Path::Combine(EmuFolders::UserResources, dir).c_str(), "*", FileSystem::FindFiles(Path::Combine(EmuFolders::UserResources, dir).c_str(), "*",