mirror of
https://gitea.tendokyu.moe/Dniel97/segatools.git
synced 2024-11-24 05:20:10 +01:00
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");
|
||||
|
||||
/* 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));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user