Forgot to add SPD action to UHCI

This commit is contained in:
Benjamin David Lunt 2023-03-21 18:40:11 -07:00 committed by GitHub
parent 64009cb067
commit d01e0f6cf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -764,8 +764,8 @@ void bx_uhci_core_c::uhci_timer(void)
// copy pointer for next queue item into vert queue head
DEV_MEM_WRITE_PHYSICAL((queue_addr & ~0xF) + sizeof(Bit32u), sizeof(Bit32u), (Bit8u *) &item);
}
// if breadth first or last in the element list, move on to next queue item
if (!depthbreadth || !USB_UHCI_IS_LINK_VALID(item)) {
// if breadth first, short packet, or last in the element list, move on to next queue item
if (!depthbreadth || !USB_UHCI_IS_LINK_VALID(item) || was_short) {
item = queue.horz;
queue_addr = 0;
}