]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
FSHD more commonly uses 256 byte block size. Only LSEG can be larger.
authorToni Wilen <twilen@winuae.net>
Mon, 26 Feb 2018 18:16:07 +0000 (20:16 +0200)
committerToni Wilen <twilen@winuae.net>
Mon, 26 Feb 2018 18:16:07 +0000 (20:16 +0200)
hardfile.cpp

index 22d232adb535a64e79ed0106a2677357d0b00586..19826079f7d38b22ef610cbc69e76431884871ba 100644 (file)
@@ -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