mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 08:43:38 +01:00
-Step through display list with F10/F11
-accelerator changes
This commit is contained in:
1 parent
4a786ebef8
commit
513223ea4f
8 files changed
+56
-19
No files matched your search
+13
-4
@@ -224,12 +224,21 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin
|
||||
//Translate accelerators and dialog messages...
|
||||
HWND wnd;
|
||||
HACCEL accel;
|
||||
if (g_debuggerActive) {
|
||||
wnd = disasmWindow[0]->GetDlgHandle();
|
||||
accel = hDebugAccelTable;
|
||||
} else {
|
||||
switch (g_activeWindow)
|
||||
{
|
||||
case WINDOW_MAINWINDOW:
|
||||
wnd = hwndMain;
|
||||
accel = hAccelTable;
|
||||
break;
|
||||
case WINDOW_CPUDEBUGGER:
|
||||
wnd = disasmWindow[0]->GetDlgHandle();
|
||||
accel = hDebugAccelTable;
|
||||
break;
|
||||
case WINDOW_GEDEBUGGER:
|
||||
default:
|
||||
wnd = 0;
|
||||
accel = 0;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!TranslateAccelerator(wnd, accel, &msg))
|
||||
|
||||
Reference in new issue
Block a user