aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/buffer_cache/buffer_cache.cpp
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 04:27:49 -0500
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 08:39:38 -0500
commitf8813998e7ddc1b21b42dcf51c39943ceb83b987 (patch)
tree249eb2843735172b1a171d55622ac611e3de6bd9 /src/video_core/buffer_cache/buffer_cache.cpp
parentadae7635708e155d967e84d7ad84bf63c5203409 (diff)
loader: build a loose RomFS once and only when it is read
Every loader of an extracted title built the whole RomFS from its romfs/ directory in its constructor, though most are made only for metadata (the game list, title lookups), and each build keeps an object per file: title 1's 206k files left four copies alive, ~0.6 GB of the heap. The RomFS is now built on first read, and loaders of the same directory share one build while any of them holds it. (cherry picked from commit be47212cac130e6a895423644751c0525dc6f169)
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions