VirtualBox

Changeset 42360 in vbox


Ignore:
Timestamp:
Jul 24, 2012 12:47:30 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79439
Message:

DevVGA: max, not min.

File:
1 edited

Legend:

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

    r42347 r42360  
    61776177    AssertReleaseMsg(RT_ALIGN_Z(g_cbVgaBiosBinary, PAGE_SIZE) == g_cbVgaBiosBinary, ("g_cbVgaBiosBinary=%#x\n", g_cbVgaBiosBinary));
    61786178    /* Note! Because of old saved states we'll always register at least 36KB of ROM. */
    6179     rc = PDMDevHlpROMRegister(pDevIns, 0x000c0000, RT_MIN(cbVgaBiosBinary, 36*_1K), pu8VgaBiosBinary, cbVgaBiosBinary,
     6179    rc = PDMDevHlpROMRegister(pDevIns, 0x000c0000, RT_MAX(cbVgaBiosBinary, 36*_1K), pu8VgaBiosBinary, cbVgaBiosBinary,
    61806180                              fFlags, "VGA BIOS");
    61816181    if (RT_FAILURE(rc))
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