Changeset 6339 in vbox for trunk/src/VBox
- Timestamp:
- Jan 11, 2008 2:24:51 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 27235
- 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.