- Timestamp:
- Dec 4, 2019 11:50:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevHDA.cpp
r82401 r82402 1221 1221 1222 1222 /* 1223 * Some guests write too much (that is, 32-bit with the top 8 bit being junk)1224 * instead of 24-bit required for SDCTL. So just mask this here to be safe.1225 */1226 u32Value &= 0x00ffffff;1227 1228 /*1229 1223 * Extract the stream tag the guest wants to use for this specific 1230 1224 * stream descriptor (SDn). This only can happen if the stream is in a non-running … … 3333 3327 uint32_t uLogOldVal = pThis->au32Regs[idxRegMem]; 3334 3328 # endif 3335 rc = hdaWriteReg(pDevIns, pThis, idxRegDsc, u64Value , "*");3329 rc = hdaWriteReg(pDevIns, pThis, idxRegDsc, u64Value & g_afMasks[cbReg], "*"); 3336 3330 Log4Func(("\t%#x -> %#x\n", uLogOldVal, pThis->au32Regs[idxRegMem])); 3337 3331 }
Note:
See TracChangeset
for help on using the changeset viewer.