mirror of
https://github.com/sheumann/NetDisk.git
synced 2024-11-30 08:49:52 +00:00
Report our devices as "MFM drives" so that Finder shows a 3.5" floppy icon.
Previously, we had actually been (erroneously) using the code for a generic hard drive, rather than a generic floppy as intended. The generic floppy code shows a 5.25" floppy icon, which seems less appropriate, so now we use the same code as 3.5" SuperDrives instead.
This commit is contained in:
parent
2092e48694
commit
77f16625c6
2
driver.c
2
driver.c
@ -42,7 +42,7 @@ void InitDIBs(void) {
|
|||||||
dibs[i].slotNum = 0x8003;
|
dibs[i].slotNum = 0x8003;
|
||||||
dibs[i].unitNum = i+1;
|
dibs[i].unitNum = i+1;
|
||||||
dibs[i].version = DRIVER_VERSION;
|
dibs[i].version = DRIVER_VERSION;
|
||||||
dibs[i].deviceID = DEVICE_GENERIC_FLOPPY_DRIVE;
|
dibs[i].deviceID = DEVICE_MFM_DRIVE;
|
||||||
|
|
||||||
dibList.dibPointers[i] = &dibs[i];
|
dibList.dibPointers[i] = &dibs[i];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user