Changeset 6339 in vbox
- Timestamp:
- Jan 11, 2008 2:24:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r6338 r6339 298 298 cLCHSHeads = iEndHead + 1; 299 299 cLCHSSectors = iEndSector; 300 cLCHSCylinders = pBlock->pfnGetSize(pBlock) / (512 * cLCHSHeads * cLCHSSectors);300 cLCHSCylinders = RT_MIN(1024, pBlock->pfnGetSize(pBlock) / (512 * cLCHSHeads * cLCHSSectors)); 301 301 if (cLCHSCylinders >= 1) 302 302 {
Note:
See TracChangeset
for help on using the changeset viewer.