summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2025-06-21 20:00:39 +0200
committerJosJuice <josjuice@gmail.com>2025-06-21 20:54:05 +0200
commitac84ea17a6248062e556065f56a2ae564ff5a303 (patch)
tree6771a3da2d86b97528ca45d439e98cda6127a9a4 /Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp
parent2047eaf1d86839b53bb92cf79cfae8be2a568ed6 (diff)
Memmap: Optimize UpdateLogicalMemory by merging mappings
Instead of creating many 128 KiB mappings, we can create a few large mappings. On my Windows PC, this speeds up GameCube (FakeVMEM) game boot times by about 200 ms and Wii game boot times by about 60 ms. Loading savestates is also faster, by about 45 ms for GameCube (FakeVMEM) games and 5 ms for Wii games. The impact is presumably smaller on other OSes because Windows is particularly slow at creating mappings.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp')
0 files changed, 0 insertions, 0 deletions