From 70cc4f9be3c112353ec323b99197d3cec0e0fd43 Mon Sep 17 00:00:00 2001 From: beeanyew Date: Fri, 4 Jun 2021 16:34:22 +0200 Subject: [PATCH] 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. --- platforms/amiga/piscsi/piscsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.39.2