From 0b5bad6523b6e5e7d455d0ec4b784711c5035ae4 Mon Sep 17 00:00:00 2001 From: OV2 Date: Fri, 31 Mar 2023 16:54:40 +0200 Subject: [PATCH] win32: add separator in recent menu --- win32/wsnes9x.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index c7039d84..5743e77c 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -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;