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.
This commit is contained in:
beeanyew
2021-06-04 16:34:22 +02:00
parent af40e3c7a3
commit 70cc4f9be3

View File

@@ -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;
};