Skip to content

Commit

Permalink
FullscreenUI: Ensure each cheat option has a unique name
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Nov 2, 2024
1 parent 09a8257 commit 775496a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/fullscreen_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 775496a

Please sign in to comment.