VirtualBox

Changeset 56673 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 29, 2015 1:06:14 PM (9 years ago)
Author:
vboxsync
Message:

DevVGA: set HGSMI host heap type when restoring from saved state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/HGSMI/HGSMIHost.cpp

    r55560 r56673  
    653653        rc = HGSMIMAInit(&pHeap->u.ma, &pHeap->area, paDescriptors, cBlocks, cbMaxBlock, pEnv);
    654654
    655         if (RT_FAILURE(rc))
     655        if (RT_SUCCESS(rc))
     656        {
     657            pHeap->u32HeapType = HGSMI_HEAP_TYPE_MA;
     658        }
     659        else
    656660        {
    657661            HGSMIAreaClear(&pHeap->area);
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