VirtualBox

Changeset 5003 in vbox for trunk/src


Ignore:
Timestamp:
Sep 24, 2007 12:55:26 PM (17 years ago)
Author:
vboxsync
Message:

Clear interrupt flag in global status register when the engine status register is updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchAc97.cpp

    r4071 r5003  
    328328    if (event)
    329329    {
    330         s->glob_sta |= masks[r - s->bm_regs];
     330        if (level)
     331            s->glob_sta |= masks[r - s->bm_regs];
     332        else
     333            s->glob_sta &= ~masks[r - s->bm_regs];
     334
    331335        Log (("ac97: set irq level=%d\n", !!level));
    332336        PDMDevHlpPCISetIrq (pDevIns, 0, !!level);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette