Some small changes in the win32 USB debug dialog code.
This commit is contained in:
parent
0e44bb735a
commit
aecb10e9ae
@ -467,7 +467,7 @@ int hc_uhci_init(HWND hwnd)
|
||||
case USB_DEBUG_COMMAND:
|
||||
// The start of a frame timer was triggered
|
||||
case USB_DEBUG_FRAME:
|
||||
SetDlgItemText(hwnd, IDC_RING_TYPE, "SOF Frame Address:");
|
||||
SetDlgItemText(hwnd, IDC_RING_TYPE, "SOF Frame Address");
|
||||
if (frame_addr != 0x00000000) {
|
||||
hc_uhci_do_item(frame_addr, frame_num);
|
||||
EnableWindow(GetDlgItem(hwnd, IDC_VIEW_TD), TRUE);
|
||||
|
@ -55,7 +55,7 @@ BEGIN
|
||||
ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,
|
||||
WS_EX_STATICEDGE
|
||||
PUSHBUTTON "&Apply",ID_APPLY,106,212,50,14,WS_DISABLED
|
||||
EDITTEXT IDC_FRAME_ADDRESS,231,163,58,12,ES_AUTOHSCROLL |
|
||||
EDITTEXT IDC_FRAME_ADDRESS,241,163,58,12,ES_AUTOHSCROLL |
|
||||
ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,
|
||||
WS_EX_STATICEDGE
|
||||
CONTROL "Reset",IDC_DEBUG_RESET,"Button",BS_AUTOCHECKBOX |
|
||||
@ -84,15 +84,15 @@ BEGIN
|
||||
RTEXT "Port 1",IDC_STATIC,15,173,50,8,WS_TABSTOP
|
||||
RTEXT "Emulation Type",IDC_STATIC,15,159,50,8,WS_TABSTOP
|
||||
RTEXT "Emulation Type",IDC_STATIC,16,187,50,8,WS_TABSTOP
|
||||
RTEXT "UHCI at Port IO Address",IDC_STATIC,17,15,80,8,
|
||||
RTEXT "UHCI at Base IO Address",IDC_STATIC,17,15,80,8,
|
||||
WS_TABSTOP
|
||||
EDITTEXT IDC_PORT_ADDR,102,13,58,12,ES_AUTOHSCROLL | ES_READONLY |
|
||||
NOT WS_BORDER | NOT WS_TABSTOP,WS_EX_STATICEDGE
|
||||
RTEXT "Frame at Address",IDC_RING_TYPE,168,166,57,8,WS_TABSTOP
|
||||
RTEXT "Frame at Address",IDC_RING_TYPE,168,164,67,8,WS_TABSTOP
|
||||
RTEXT "Frame Address",IDC_STATIC,15,101,50,8,WS_TABSTOP
|
||||
EDITTEXT IDC_TREE_COMMENT,168,486,411,12,ES_AUTOHSCROLL |
|
||||
ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP
|
||||
PUSHBUTTON "View Item",IDC_VIEW_TD,295,162,50,14,WS_DISABLED
|
||||
PUSHBUTTON "View Item",IDC_VIEW_TD,305,162,50,14,WS_DISABLED
|
||||
GROUPBOX "Debug Flags",IDC_STATIC,477,30,116,126
|
||||
END
|
||||
|
||||
@ -334,9 +334,9 @@ BEGIN
|
||||
RTEXT "Emulation Type",IDC_X_REG_PORT7_ETYPE,16,383,50,8
|
||||
RTEXT "Emulation Type",IDC_X_REG_PORT8_ETYPE,16,411,50,8
|
||||
RTEXT "Emulation Type",IDC_X_REG_PORT9_ETYPE,16,439,50,8
|
||||
RTEXT "xHCI at Mem-mapped Address",IDC_STATIC,17,15,80,8,
|
||||
RTEXT "xHCI at Base MMIO Address",IDC_STATIC,12,15,90,8,
|
||||
WS_TABSTOP
|
||||
EDITTEXT IDC_PORT_ADDR,102,13,58,12,ES_RIGHT | ES_AUTOHSCROLL |
|
||||
EDITTEXT IDC_PORT_ADDR,105,13,55,12,ES_RIGHT | ES_AUTOHSCROLL |
|
||||
ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP,
|
||||
WS_EX_STATICEDGE
|
||||
EDITTEXT IDC_TREE_COMMENT,168,486,411,12,ES_RIGHT |
|
||||
|
Loading…
Reference in New Issue
Block a user