forked from Dniel97/segatools
eeprom: fill in actual geometry
This commit is contained in:
parent
840dd3f3df
commit
2432b32338
@ -134,14 +134,12 @@ static HRESULT eeprom_ioctl_get_geometry(struct irp *irp)
|
|||||||
|
|
||||||
dprintf("EEPROM: Get geometry\n");
|
dprintf("EEPROM: Get geometry\n");
|
||||||
|
|
||||||
/* Not the real values, just bullshitting something for now */
|
|
||||||
|
|
||||||
memset(&out, 0, sizeof(out));
|
memset(&out, 0, sizeof(out));
|
||||||
out.Cylinders.QuadPart = 0x800;
|
out.Cylinders.QuadPart = 1;
|
||||||
out.MediaType = 0;
|
out.MediaType = FixedMedia;
|
||||||
out.TracksPerCylinder = 1;
|
out.TracksPerCylinder = 224;
|
||||||
out.SectorsPerTrack = 2;
|
out.SectorsPerTrack = 32;
|
||||||
out.BytesPerSector = 4;
|
out.BytesPerSector = 1;
|
||||||
|
|
||||||
hr = iobuf_write(&irp->read, &out, sizeof(out));
|
hr = iobuf_write(&irp->read, &out, sizeof(out));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user