- Timestamp:
- Feb 12, 2015 9:59:06 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp
r54162 r54168 2627 2627 * whether the hint is valid. Therefore don't do any VRAM sanity checks 2628 2628 * here! */ 2629 if (iDisplay > RT_MIN(pThis->cMonitors, RT_ELEMENTS(pCtx->aModeHints)))2629 if (iDisplay >= RT_MIN(pThis->cMonitors, RT_ELEMENTS(pCtx->aModeHints))) 2630 2630 return VERR_OUT_OF_RANGE; 2631 2631 pCtx->aModeHints[iDisplay].magic = VBVAMODEHINT_MAGIC;
Note:
See TracChangeset
for help on using the changeset viewer.