From: beeanyew Date: Fri, 4 Jun 2021 14:34:22 +0000 (+0200) Subject: PiSCSI hunk reloc change X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=70cc4f9be3c112353ec323b99197d3cec0e0fd43;p=pistorm PiSCSI hunk reloc change Came across a version of PFS3AIO with an excessive number of hunk relocations in the binary compared to the ones I've seen. Fixes segmentation fault when loading said file systems, requires `make` and `make clean` to take effect. --- diff --git a/platforms/amiga/piscsi/piscsi.h b/platforms/amiga/piscsi/piscsi.h index 488f9de..a9fd353 100644 --- a/platforms/amiga/piscsi/piscsi.h +++ b/platforms/amiga/piscsi/piscsi.h @@ -81,7 +81,7 @@ struct piscsi_fs { struct FileSysHeaderBlock * fhb; uint32_t FS_ID; uint32_t handler; - struct hunk_reloc relocs[512]; + struct hunk_reloc relocs[4096]; struct hunk_info h_info; uint8_t *binary_data; };