- Timestamp:
- Oct 16, 2010 8:25:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r33174 r33178 948 948 else 949 949 max_bank = s->vbe_bank_max; 950 /* Old software may pass garbage in the high byte of bank. If the maximum 951 * bank fits into a single byte, toss the high byte the user supplied. 952 */ 953 if (max_bank < 0x100) 954 val &= 0xff; 950 955 if (val > max_bank) 951 956 val = max_bank;
Note:
See TracChangeset
for help on using the changeset viewer.