VirtualBox

Changeset 50078 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 15, 2014 10:55:52 AM (11 years ago)
Author:
vboxsync
Message:

dev/vga: fix guest hgsmi command completion

File:
1 edited

Legend:

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

    r49430 r50078  
    18181818
    18191819    int rc = VINF_SUCCESS;
    1820     HGSMIOFFSET offBuffer = HGSMIHeapBufferOffset (&pIns->hostHeap, pvMem);
     1820
     1821    HGSMIBUFFERHEADER *pHeader = HGSMIBufferHeaderFromData(pvMem);
     1822    HGSMIOFFSET offBuffer = HGSMIPointerToOffset(&pIns->area, pHeader);
     1823
    18211824    Assert(offBuffer != HGSMIOFFSET_VOID);
    18221825    if (offBuffer != HGSMIOFFSET_VOID)
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