SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI.

This commit is contained in:
shenweip committed 2020-10-22 17:45:29 +08:00
1 parent 0f647684a3
commit a0fe0e38c1
11 files changed
+37 -4

No files matched your search

+4
View File
@@ -970,6 +970,10 @@ namespace MainWindow
InputDevice::BeginPolling();
break;
case WM_USER_SWITCHUMD_UPDATED:
UpdateSwitchUMD();
break;
case WM_MENUSELECT:
// Called when a menu is opened. Also when an item is selected, but meh.
UpdateMenus(true);