diff --git a/desmume/src/windows/main.cpp b/desmume/src/windows/main.cpp index 88a62a1e1..997688858 100644 --- a/desmume/src/windows/main.cpp +++ b/desmume/src/windows/main.cpp @@ -4018,6 +4018,18 @@ void UpdateHotkeyAssignments() text.append("\t"); text.append(keyname); ChangeMenuItemText(IDM_OPEN, text); + + //Save Screenshot As... + GetMenuString(mainMenu,IDM_PRINTSCREEN, itemText, 255, IDM_PRINTSCREEN); //Get menu item text + text = itemText; //Store in string object + truncate = text.find("\t"); //Find the tab + if (truncate >= 1) //Truncate if it exists + text = text.substr(0,truncate); + keyname = CustomKeys.PrintScreen.key; //Get key & modifiers + keyname.insert(0,GetModifierString(CustomKeys.PrintScreen.modifiers)); + text.append("\t"); + text.append(keyname); + ChangeMenuItemText(IDM_PRINTSCREEN, text); }