From ba4ba3b2bb119095f2896b645d7216b2af86d9e3 Mon Sep 17 00:00:00 2001 From: zeromus Date: Sat, 24 Apr 2010 07:28:01 +0000 Subject: [PATCH] merge r3583 to release branch --- 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 b30fdb25f..3d327273b 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);