From 104a9fd40a720b843ab36d54f9f834c3ba6cf884 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 26 Feb 2018 20:16:07 +0200 Subject: [PATCH] FSHD more commonly uses 256 byte block size. Only LSEG can be larger. --- hardfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardfile.cpp b/hardfile.cpp index 22d232ad..19826079 100644 --- a/hardfile.cpp +++ b/hardfile.cpp @@ -476,7 +476,7 @@ static void create_virtual_rdb (struct hardfiledata *hfd) if (filesys) { fs = rdb + blocksize * idx; pl(fs, 0, 0x46534844); // "FSHD" - pl(fs, 1, minblocksize / 4); + pl(fs, 1, 256 / 4); pl(fs, 2, 0); // chksum pl(fs, 3, 7); // hostid pl(fs, 4, -1); // next -- 2.47.3