mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
Debugger: Keep pop up menus to ContextMenu only.
This commit is contained in:
1 parent
39d3b4d933
commit
09f4e82aa7
5 files changed
+12
-9
No files matched your search
+2
-4
@@ -65,6 +65,7 @@
|
||||
#if PPSSPP_API(ANY_GL)
|
||||
#include "Windows/GEDebugger/GEDebugger.h"
|
||||
#endif
|
||||
#include "Windows/W32Util/ContextMenu.h"
|
||||
#include "Windows/W32Util/DialogManager.h"
|
||||
#include "Windows/W32Util/ShellUtil.h"
|
||||
|
||||
@@ -101,7 +102,6 @@ static std::string gpuDriverVersion;
|
||||
|
||||
static std::string restartArgs;
|
||||
|
||||
HMENU g_hPopupMenus;
|
||||
int g_activeWindow = 0;
|
||||
|
||||
static std::thread inputBoxThread;
|
||||
@@ -665,10 +665,8 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
|
||||
timeBeginPeriod(1); // TODO: Evaluate if this makes sense to keep.
|
||||
|
||||
ContextMenuInit(_hInstance);
|
||||
MainWindow::Init(_hInstance);
|
||||
|
||||
g_hPopupMenus = LoadMenu(_hInstance, (LPCWSTR)IDR_POPUPMENUS);
|
||||
|
||||
MainWindow::Show(_hInstance);
|
||||
|
||||
HWND hwndMain = MainWindow::GetHWND();
|
||||
|
||||
Reference in new issue
Block a user