mirror of
https://github.com/86Box/86Box.git
synced 2026-02-23 01:48:21 -07:00
RTL8139: Fix potential interrupt storm
This commit is contained in:
@@ -3165,7 +3165,7 @@ static void rtl8139_timer(void *opaque)
|
||||
|
||||
s->TCTR++;
|
||||
|
||||
if (s->TCTR >= s->TimerInt && s->TimerInt != 0){
|
||||
if (s->TCTR == s->TimerInt && s->TimerInt != 0){
|
||||
s->IntrStatus |= PCSTimeout;
|
||||
rtl8139_update_irq(s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user