From aecb10e9ae81e14851ad7104b6166873481b5e06 Mon Sep 17 00:00:00 2001 From: Volker Ruppert Date: Sat, 27 Jul 2024 21:34:59 +0200 Subject: [PATCH] Some small changes in the win32 USB debug dialog code. --- bochs/gui/win32usb.cc | 2 +- bochs/win32usbres.rc | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bochs/gui/win32usb.cc b/bochs/gui/win32usb.cc index 083692557..baadff8db 100644 --- a/bochs/gui/win32usb.cc +++ b/bochs/gui/win32usb.cc @@ -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); diff --git a/bochs/win32usbres.rc b/bochs/win32usbres.rc index e6844d485..3e8945d9f 100644 --- a/bochs/win32usbres.rc +++ b/bochs/win32usbres.rc @@ -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 |