From 1cdf22745a36c989028072f41ada36e271048e2f Mon Sep 17 00:00:00 2001 From: Matthew Waltz Date: Sun, 21 Jan 2024 11:25:41 -0700 Subject: [PATCH] fix usbdrvce --- src/usbdrvce/usbdrvce.asm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/usbdrvce/usbdrvce.asm b/src/usbdrvce/usbdrvce.asm index cdb81a423..3bd359a3b 100644 --- a/src/usbdrvce/usbdrvce.asm +++ b/src/usbdrvce/usbdrvce.asm @@ -3611,11 +3611,11 @@ _RetireFirstTransfer: .loop: push de pop iy.transfer - ld de,(iy.transfer.altNext) - bit 0,de - jq z,.alt ld de,(iy.transfer.next) -.alt: + bit 0,de + jq z,.notalt + ld de,(iy.transfer.altNext) +.notalt: bitmsk iy.transfer.type.ioc jq z,.loop ld (ix.endpoint.first),de