Changeset 55214 in vbox for trunk/src/VBox/Frontends/VBoxSDL
- Timestamp:
- Apr 13, 2015 3:53:01 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r55133 r55214 1838 1838 if (machineState == MachineState_Saved) 1839 1839 { 1840 CHECK_ERROR(gp Console, DiscardSavedState(true /* fDeleteFile */));1840 CHECK_ERROR(gpMachine, DiscardSavedState(true /* fDeleteFile */)); 1841 1841 } 1842 1842 /* … … 1855 1855 goto leave; 1856 1856 1857 CHECK_ERROR(gp Console, RestoreSnapshot(pCurrentSnapshot, gpProgress.asOutParam()));1857 CHECK_ERROR(gpMachine, RestoreSnapshot(pCurrentSnapshot, gpProgress.asOutParam())); 1858 1858 rc = gpProgress->WaitForCompletion(-1); 1859 1859 } … … 4200 4200 UpdateTitlebar(TITLEBAR_SAVE); 4201 4201 gpProgress = NULL; 4202 HRESULT rc = gp Console->SaveState(gpProgress.asOutParam());4202 HRESULT rc = gpMachine->SaveState(gpProgress.asOutParam()); 4203 4203 if (FAILED(rc)) 4204 4204 { … … 4950 4950 gpProgress = NULL; 4951 4951 HRESULT rc; 4952 CHECK_ERROR(gp Console, TakeSnapshot(Bstr(pszSnapshotName).raw(),4952 CHECK_ERROR(gpMachine, TakeSnapshot(Bstr(pszSnapshotName).raw(), 4953 4953 Bstr("Taken by VBoxSDL").raw(), 4954 TRUE, 4954 4955 gpProgress.asOutParam())); 4955 4956 if (FAILED(rc))
Note:
See TracChangeset
for help on using the changeset viewer.