VirtualBox

Changeset 34203 in vbox for trunk/src


Ignore:
Timestamp:
Nov 19, 2010 2:53:23 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
67944
Message:

dev/vga: saved state fix for solaris host

File:
1 edited

Legend:

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

    r34188 r34203  
    13781378
    13791379        vbvaVHWAHHCommandRelease(pCmd);
    1380         return rc;
    1381     }
     1380    }
     1381    else
     1382        rc = VERR_OUT_OF_RESOURCES;
    13821383#else
    1383     for (uint32_t i = 0; i < pVGAState->cMonitors; ++i)
    1384     {
    1385         rc = SSMR3PutU32 (pSSM, VBOXVBVASAVEDSTATE_VHWAUNAVAILABLE_MAGIC);
    1386         AssertRCReturn(rc, rc);
     1384    if (RT_SUCCESS(rc))
     1385    {
     1386        for (uint32_t i = 0; i < pVGAState->cMonitors; ++i)
     1387        {
     1388            rc = SSMR3PutU32 (pSSM, VBOXVBVASAVEDSTATE_VHWAUNAVAILABLE_MAGIC);
     1389            AssertRCReturn(rc, rc);
     1390        }
    13871391    }
    13881392#endif
    1389     return VERR_OUT_OF_RESOURCES;
     1393    return rc;
    13901394}
    13911395
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette