FullscreenUI: Ensure each cheat option has a unique name

This commit is contained in:
Stenzek 2024-11-02 21:25:12 +10:00
parent 09a825720d
commit 775496af8a
No known key found for this signature in database

View File

@ -5265,7 +5265,7 @@ void FullscreenUI::DrawPatchesOrCheatsSettingsPage(bool cheats)
if (!cheats)
title = std::string_view(ci.name);
else
title = ci.GetNamePart();
title.format("{}##{}", ci.GetNamePart(), ci.name);
// TODO: Handle ranges.
bool state = (enable_it != enable_list.end());