win32: add separator in recent menu

This commit is contained in:
OV2 2023-03-31 16:54:40 +02:00
parent dcaac07d78
commit 0b5bad6523
1 changed files with 5 additions and 0 deletions

View File

@ -4225,6 +4225,11 @@ void S9xSetRecentGames ()
if (i > 0)
{
MENUITEMINFO mii_sep = mii;
mii_sep.fMask = MIIM_TYPE;
mii_sep.fType = MFT_SEPARATOR;
InsertMenuItem(recent, 0xFF00 + i + 1, FALSE, &mii_sep);
mii.dwTypeData = TEXT("Clear List");
mii.cch = lstrlen(name) + 1;
mii.wID = 0xFF00 + MAX_RECENT_GAMES_LIST_SIZE;