USB: revert irq hack

This commit is contained in:
jackun 2020-11-11 22:06:53 +02:00
parent f3f50a948e
commit 60ef26ec51
No known key found for this signature in database
GPG Key ID: 119DB3F1D05A9ED3
1 changed files with 1 additions and 2 deletions

View File

@ -61,8 +61,7 @@ static inline void ohci_intr_update(OHCIState* ohci)
if (level)
{
//if ((get_clock() - last_cycle) > MIN_IRQ_INTERVAL)
if (ohci->intr_status != OHCI_INTR_WD) //HACK skip first intr with _WD, _SF should follow shortly
if ((get_clock() - last_cycle) > MIN_IRQ_INTERVAL)
{
usbIrq(1);
last_cycle = get_clock();