src/osd/windows/debugwin.c
| r10312 | r10313 | |
| 2410 | 2410 | info->handle_command = disasm_handle_command; |
| 2411 | 2411 | info->handle_key = disasm_handle_key; |
| 2412 | 2412 | |
| 2413 | | // set up the disassembly view to track the current pc |
| 2414 | | downcast<debug_view_disasm *>(info->view[0].view)->set_expression("curpc"); |
| 2415 | | |
| 2416 | 2413 | // create an edit box and override its key handling |
| 2417 | 2414 | info->editwnd = CreateWindowEx(EDIT_BOX_STYLE_EX, TEXT("EDIT"), NULL, EDIT_BOX_STYLE, |
| 2418 | 2415 | 0, 0, 100, 100, info->wnd, NULL, GetModuleHandle(NULL), NULL); |
| r10312 | r10313 | |
| 2486 | 2483 | // recompute the children |
| 2487 | 2484 | console_set_cpu(debug_cpu_get_visible_cpu(machine)); |
| 2488 | 2485 | |
| 2486 | // set up the disassembly view to track the current pc |
| 2487 | downcast<debug_view_disasm *>(info->view[0].view)->set_expression("curpc"); |
| 2488 | |
| 2489 | 2489 | // mark the edit box as the default focus and set it |
| 2490 | 2490 | info->focuswnd = info->editwnd; |
| 2491 | 2491 | SetFocus(info->editwnd); |