Skip to content

Commit a34733f

Browse files
committed
[FREELDR] Test
1 parent ee60345 commit a34733f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎boot/freeldr/freeldr/arch/i386/hwdisk.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ DiskOpen(CHAR* Path, OPENMODE OpenMode, ULONG* FileId)
141141
if (!Context)
142142
return ENOMEM;
143143

144+
if (DriveType == CdromController)
145+
{
146+
ERR("BytesPerSector = %d, Sectors = %d\n", Geometry.BytesPerSector, Geometry.Sectors);
147+
}
144148
Context->DriveNumber = DriveNumber;
145149
Context->IsFloppy = (DriveType == FloppyDiskPeripheral);
146150
Context->SectorSize = SectorSize;

0 commit comments

Comments
 (0)