1
0
mirror of https://gitea.tendokyu.moe/Hay1tsme/segatools.git synced 2024-11-11 20:37:09 +01:00

eeprom: fill in actual geometry

This commit is contained in:
e76cd2ec3a63f11710dc9fa0bc5b66176521af0a 2020-08-07 20:31:40 -07:00 committed by Tau
parent 0152ede6f0
commit b73ded3597

View File

@ -134,14 +134,12 @@ static HRESULT eeprom_ioctl_get_geometry(struct irp *irp)
dprintf("EEPROM: Get geometry\n");
/* Not the real values, just bullshitting something for now */
memset(&out, 0, sizeof(out));
out.Cylinders.QuadPart = 0x800;
out.MediaType = 0;
out.TracksPerCylinder = 1;
out.SectorsPerTrack = 2;
out.BytesPerSector = 4;
out.Cylinders.QuadPart = 1;
out.MediaType = FixedMedia;
out.TracksPerCylinder = 224;
out.SectorsPerTrack = 32;
out.BytesPerSector = 1;
hr = iobuf_write(&irp->read, &out, sizeof(out));