mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
5eabca7f04
This is needed for Animal Crossing 2.0.0, which has >99000 fucking files. We now do several passes over dir/file tables instead of one pass, doing entire hash tables before we touch dir/file tables. Thus we no longer need to simultaneously allocate hash table and dir/file table space. In addition, we now do repeated passes building a segment of hash tables at a time, when insufficient memory is available. Similar is also now the case for file/dir tables, we try 0x40000 work buffer and divide by 2 until we successfully alloc. We don't allow a work buffer <0x4000, for write/perf reasons. If a game triggers that, let me know I guess. Hard to imagine a worse torture-test for this code than animal crossing. |
||
---|---|---|
.. | ||
ams_mitm | ||
boot | ||
boot2 | ||
creport | ||
cs | ||
dmnt | ||
dmnt.gen2 | ||
eclct.stub | ||
erpt | ||
fatal | ||
htc | ||
jpegdec | ||
loader | ||
LogManager | ||
ncm | ||
pgl | ||
pm | ||
ro | ||
sm | ||
spl | ||
TioServer | ||
Makefile |