devoptab: use fixed size array of entries rather than vector as vector can change/break pointers when it reallocs. fs: disable loading assoc when mounting custom fs.

This commit is contained in:
ITotalJustice
2025-08-12 08:04:24 +01:00
parent 7835ebc346
commit cd6fed6aae
6 changed files with 173 additions and 140 deletions

View File

@@ -5,6 +5,9 @@
namespace sphaira::devoptab::common {
// max entries per devoptab, should be enough.
enum { MAX_ENTRIES = 4 };
// buffers data in 512k chunks to maximise throughput.
// not suitable if random access >= 512k is common.
// if that is needed, see the LRU cache varient used for fatfs.