mirror of https://github.com/snes9xgit/snes9x.git
win32: add separator in recent menu
This commit is contained in:
parent
dcaac07d78
commit
0b5bad6523
|
@ -4225,6 +4225,11 @@ void S9xSetRecentGames ()
|
||||||
|
|
||||||
if (i > 0)
|
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.dwTypeData = TEXT("Clear List");
|
||||||
mii.cch = lstrlen(name) + 1;
|
mii.cch = lstrlen(name) + 1;
|
||||||
mii.wID = 0xFF00 + MAX_RECENT_GAMES_LIST_SIZE;
|
mii.wID = 0xFF00 + MAX_RECENT_GAMES_LIST_SIZE;
|
||||||
|
|
Loading…
Reference in New Issue