Changeset 56969 in vbox for trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
- Timestamp:
- Jul 17, 2015 1:38:14 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r56814 r56969 1603 1603 if (RT_SUCCESS(rc)) 1604 1604 { 1605 VGA_SAVED_STATE_PUT_MARKER(pSSM, 2); 1606 1605 1607 /* Save VBVACONTEXT. */ 1606 1608 VBVACONTEXT *pCtx = (VBVACONTEXT *)HGSMIContext (pIns); … … 1781 1783 } 1782 1784 1783 int vboxVBVALoadStateExec (PPDMDEVINS pDevIns, PSSMHANDLE pSSM, uint32_t u 32Version)1784 { 1785 if (u 32Version < VGA_SAVEDSTATE_VERSION_HGSMI)1785 int vboxVBVALoadStateExec (PPDMDEVINS pDevIns, PSSMHANDLE pSSM, uint32_t uVersion) 1786 { 1787 if (uVersion < VGA_SAVEDSTATE_VERSION_HGSMI) 1786 1788 { 1787 1789 /* Nothing was saved. */ … … 1791 1793 PVGASTATE pVGAState = PDMINS_2_DATA(pDevIns, PVGASTATE); 1792 1794 PHGSMIINSTANCE pIns = pVGAState->pHGSMI; 1793 int rc = HGSMIHostLoadStateExec (pIns, pSSM, u 32Version);1795 int rc = HGSMIHostLoadStateExec (pIns, pSSM, uVersion); 1794 1796 if (RT_SUCCESS(rc)) 1795 1797 { 1798 VGA_SAVED_STATE_GET_MARKER_RETURN_ON_MISMATCH(pSSM, uVersion, 2); 1799 1796 1800 /* Load VBVACONTEXT. */ 1797 1801 VBVACONTEXT *pCtx = (VBVACONTEXT *)HGSMIContext (pIns); … … 1879 1883 } 1880 1884 1881 if (u 32Version > VGA_SAVEDSTATE_VERSION_WITH_CONFIG)1885 if (uVersion > VGA_SAVEDSTATE_VERSION_WITH_CONFIG) 1882 1886 { 1883 1887 /* Read mouse pointer shape information. */ … … 1933 1937 } 1934 1938 1935 if (u 32Version >= VGA_SAVEDSTATE_VERSION_MODE_HINTS)1939 if (uVersion >= VGA_SAVEDSTATE_VERSION_MODE_HINTS) 1936 1940 { 1937 1941 uint32_t cModeHints, cbModeHints; … … 1958 1962 LogFlowFunc(("%d views loaded\n", pCtx->cViews)); 1959 1963 1960 if (u 32Version > VGA_SAVEDSTATE_VERSION_WDDM)1964 if (uVersion > VGA_SAVEDSTATE_VERSION_WDDM) 1961 1965 { 1962 1966 bool fLoadCommands; 1963 1967 1964 if (u 32Version < VGA_SAVEDSTATE_VERSION_FIXED_PENDVHWA)1968 if (uVersion < VGA_SAVEDSTATE_VERSION_FIXED_PENDVHWA) 1965 1969 { 1966 1970 const char *pcszOsArch = SSMR3HandleHostOSAndArch(pSSM); … … 1988 1992 if (fLoadCommands) 1989 1993 { 1990 rc = vbvaVHWACommandLoadPending(pVGAState, pSSM, u 32Version);1994 rc = vbvaVHWACommandLoadPending(pVGAState, pSSM, uVersion); 1991 1995 AssertRCReturn(rc, rc); 1992 1996 }
Note:
See TracChangeset
for help on using the changeset viewer.