summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarley Travis <harleytravis123@outlook.com>2026-06-06 19:41:24 -0500
committerHarley Travis <harleytravis123@outlook.com>2026-06-06 19:41:24 -0500
commit340c9ba93e8c9ad880e2e7deb2738d072c016f5a (patch)
tree13c3ad2cad3067e23ef0bfd2d9a3daf4520e6abe
parent0898cca4b9eb3465bc4507508d352502f6e5781a (diff)
downloadtempleos-floppy-driver-340c9ba93e8c9ad880e2e7deb2738d072c016f5a.tar.gz
Update BlkDevAddFDC.HC
BlkDevAdd should set drv_offset to 0 (since the BlkDev's drv_offset will also be zero; floppies don't have a partition table), so I removed the forced-set to 0 in the code.
-rw-r--r--Kernel/Patches/BlkDevAddFDC.HC1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Patches/BlkDevAddFDC.HC b/Kernel/Patches/BlkDevAddFDC.HC
index c0ff7d6..cc3e14b 100644
--- a/Kernel/Patches/BlkDevAddFDC.HC
+++ b/Kernel/Patches/BlkDevAddFDC.HC
@@ -13,7 +13,6 @@ case BDT_FLOPPY:
else {
dv->dv_signature=DRV_SIGNATURE_VAL;
dv->bd=bd;
- dv->drv_offset=0;
dv->fs_type=FSt_REDSEA;
RedSeaInit(dv);
}