Display amount of loaded cheats in title.

This commit is contained in:
sorgelig
2019-05-08 23:22:35 +08:00
parent b5968296a9
commit 050af0e7fd
3 changed files with 12 additions and 3 deletions

View File

@@ -2936,7 +2936,8 @@ void HandleUI(void)
/******************************************************************/
case MENU_CHEATS1:
helptext = helptexts[HELPTEXT_NONE];
OsdSetTitle("Cheats", 0);
sprintf(s, "Cheats (%d)", cheats_loaded());
OsdSetTitle(s);
cheats_print();
menustate = MENU_CHEATS2;
parentstate = menustate;