1
0
mirror of https://gitea.tendokyu.moe/Dniel97/segatools.git synced 2024-11-23 21:10:57 +01:00

eeprom: fill in actual geometry

This commit is contained in:
seika1 2020-08-07 20:31:40 -07:00 committed by Tau
parent 840dd3f3df
commit 2432b32338

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));