mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 03:35:19 +02:00
Win32: Enable/disable menu items when a menu is popped down. Allows us to avoid calling UpdateUI from sceUmd. Should fix #9546
This commit is contained in:
@@ -337,10 +337,6 @@ namespace MainWindow {
|
||||
// Help menu: it's translated in CreateHelpMenu.
|
||||
CreateHelpMenu(menu);
|
||||
|
||||
// TODO: Urgh! Why do we need this here?
|
||||
// The menu is supposed to enable/disable this stuff directly afterward.
|
||||
SetIngameMenuItemStates(menu, GetUIState());
|
||||
|
||||
DrawMenuBar(hWnd);
|
||||
UpdateMenus();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user