Skip to content

Commit

Permalink
UHCI: Run timers after reading back frame number
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Dec 16, 2024
1 parent a6340c9 commit 4ecfaee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/usb/usb_uhci_bochs.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,10 @@ usb_uhci_read(uint16_t address, void *priv)

case 0x06: // frame number register (16-bit)
val = hub->usb_frame_num.frame_num;
#ifdef USE_DYNAREC
if (cpu_use_dynarec)
update_tsc();
#endif
break;

case 0x08: // frame base register (32-bit)
Expand Down

0 comments on commit 4ecfaee

Please sign in to comment.