Fix name conflicts of FFX upscalers in the menu

This commit is contained in:
FakeMichau
2026-08-08 21:27:43 +02:00
committed by TheRazerMD
parent e305081994
commit dcf9aefdcf
+1 -1
View File
@@ -3274,7 +3274,7 @@ bool MenuCommon::RenderMenu()
{
for (int n = 0; n < state.ffxUpscalerVersionIds.size(); n++)
{
auto name = StrFmt("FSR %s", state.ffxUpscalerVersionNames[n]);
auto name = StrFmt("FSR %s##%d", state.ffxUpscalerVersionNames[n], n);
if (ImGui::Selectable(name.c_str(),
config->FfxUpscalerIndex.value_or_default() == n))
_ffxUpscalerIndex = n;