1
0
Fork 0
mirror of https://github.com/DarkMatterCore/nxdumptool.git synced 2024-09-19 21:43:44 +01:00
nxdumptool/source/devoptab
Pablo Curiel 364b3f39dc romfs: use hash buckets for FS entry lookups.
* romfs: add hash bucket fields to RomFileSystemContext struct.
* romfs: remove current offset fields from RomFileSystemContext struct and all functions that relied on them.
* romfs: add romfsCalculateEntryHash().
* romfs: update romfsInitializeContext() to also load file/directory hash buckets.
* romfs: update romfsGetTotalDataSize() to make up for the removed functions.
* romfs: update romfsGetChild*EntryByName() functions to use hash bucket lookups.

Other changes include:

* devoptab: add missing exit macros to some FS operations across all interfaces.

* poc: update extractedRomFsReadThreadFunc() to make up for the removed RomFS functions.
2023-12-22 12:20:27 +01:00
..
hfs_dev.c romfs: use hash buckets for FS entry lookups. 2023-12-22 12:20:27 +01:00
nxdt_devoptab.c Custom devoptab wrappers (part 5). 2023-12-21 16:51:26 +01:00
nxdt_romfs_dev.c romfs: use hash buckets for FS entry lookups. 2023-12-22 12:20:27 +01:00
pfs_dev.c romfs: use hash buckets for FS entry lookups. 2023-12-22 12:20:27 +01:00
ro_dev.c