mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
Add an option to disable windows menu bar
This commit is contained in:
1 parent
c0d5b4be7e
commit
3c49485f7c
4 files changed
+9
No files matched your search
@@ -372,6 +372,9 @@ namespace MainWindow
|
||||
if (graphicsContext) {
|
||||
graphicsContext->Resume();
|
||||
}
|
||||
|
||||
if (g_Config.bDisableWinMenu)
|
||||
SetMenu(hwndMain, NULL);
|
||||
}
|
||||
|
||||
void Minimize() {
|
||||
@@ -503,6 +506,9 @@ namespace MainWindow
|
||||
|
||||
WindowsRawInput::Init();
|
||||
|
||||
if (g_Config.bDisableWinMenu)
|
||||
SetMenu(hwndMain, NULL);
|
||||
|
||||
SetFocus(hwndMain);
|
||||
|
||||
return TRUE;
|
||||
|
||||
Reference in new issue
Block a user