aboutsummaryrefslogtreecommitdiff
path: root/src/common/host_memory.cpp
diff options
context:
space:
mode:
authorTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 12:18:19 -0500
committerTakoroka <137927095+Takoroka@users.noreply.github.com>2026-11-01 12:18:19 -0500
commiteca63ccb1006fdec79f6392d38bd74739e1371df (patch)
tree1dda944f21d033fab85f04c8c5c0b61a68978f0a /src/common/host_memory.cpp
parent6bde8c20d1f7c020a920e59a989c03822a08445d (diff)
vfs_real: forget a path when its file is gone
The path cache holds weak references, but nothing erased an entry once its file was destroyed, so every path ever opened stayed in the cache until the filesystem was destroyed (title 1's loose RomFS: 206k paths, 24 MB of keys, kept after the game stops). The entry is erased when the file's last reference is dropped, unless the path was opened again meanwhile.
Diffstat (limited to 'src/common/host_memory.cpp')
0 files changed, 0 insertions, 0 deletions