Previous 15994 Revisions Next

r10313 Sunday 6th February, 2011 at 11:29:46 UTC by Curt Coder
Ensured that the debugger disassembly PC cursor is visible on startup.
[src/osd/windows]debugwin.c

src/osd/windows/debugwin.c
r10312r10313
24102410   info->handle_command = disasm_handle_command;
24112411   info->handle_key = disasm_handle_key;
24122412
2413   // set up the disassembly view to track the current pc
2414   downcast<debug_view_disasm *>(info->view[0].view)->set_expression("curpc");
2415
24162413   // create an edit box and override its key handling
24172414   info->editwnd = CreateWindowEx(EDIT_BOX_STYLE_EX, TEXT("EDIT"), NULL, EDIT_BOX_STYLE,
24182415         0, 0, 100, 100, info->wnd, NULL, GetModuleHandle(NULL), NULL);
r10312r10313
24862483   // recompute the children
24872484   console_set_cpu(debug_cpu_get_visible_cpu(machine));
24882485
2486   // set up the disassembly view to track the current pc
2487   downcast<debug_view_disasm *>(info->view[0].view)->set_expression("curpc");
2488
24892489   // mark the edit box as the default focus and set it
24902490   info->focuswnd = info->editwnd;
24912491   SetFocus(info->editwnd);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team