From 53a76b5be5b8cac0e6340b0a6573309438328cc6 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 24 Apr 2010 07:24:18 +0000 Subject: [PATCH] win32: save type menu was completely broken. awesome. --- desmume/src/windows/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index a8247ed2d..d02b19ba0 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -2006,8 +2006,9 @@ int MenuInit() memset(&mm, 0, sizeof(MENUITEMINFO)); mm.cbSize = sizeof(MENUITEMINFO); - mm.fMask = MIIM_TYPE; + mm.fMask = MIIM_TYPE | MIIM_ID; mm.fType = MFT_STRING; + mm.wID = IDC_SAVETYPE+i+1; mm.dwTypeData = (LPSTR)save_names[i]; MainWindow->addMenuItem(IDC_SAVETYPE, false, &mm);