Changeset 81765 in vbox for trunk/src/VBox/Devices/Audio/DevSB16.cpp
- Timestamp:
- Nov 11, 2019 4:00:31 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DevSB16.cpp
r81591 r81765 1830 1830 * Worker for sb16LoadExec. 1831 1831 */ 1832 static int sb16Load(P SSMHANDLE pSSM, PSB16STATE pThis)1832 static int sb16Load(PCPDMDEVHLPR3 pHlp, PSSMHANDLE pSSM, PSB16STATE pThis) 1833 1833 { 1834 1834 SSMR3GetS32(pSSM, &pThis->irq); … … 1843 1843 SSMR3GetS32(pSSM, &pThis->fmt_bits); 1844 1844 1845 SSMR3GetU32(pSSM, (uint32_t *)&pThis->fmt);1845 PDMDEVHLP_SSM_GET_ENUM32_RET(pHlp, pSSM, pThis->fmt, PDMAUDIOFMT); 1846 1846 1847 1847 SSMR3GetS32(pSSM, &pThis->dma_auto); … … 1943 1943 return VINF_SUCCESS; 1944 1944 1945 return sb16Load(p SSM, pThis);1945 return sb16Load(pDevIns->pHlpR3, pSSM, pThis); 1946 1946 } 1947 1947
Note:
See TracChangeset
for help on using the changeset viewer.