diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 00:11:02 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-11-01 00:11:02 -0400 |
| commit | edabc3e61486d59d67f33dfd992154927197450f (patch) | |
| tree | a91938597985af8910d0e8de5845179e99b34e93 /src/video_core/buffer_cache/buffer_cache.cpp | |
| parent | 37908985af9d080bc4795c16c8e49c7ef1d2a98b (diff) | |
memory_manager: copy big pages without host memory page by page
GPU reads and writes of a continuous big page copied through
GetPointer() without checking it; the small-page path checks. A big
page whose host memory is not there yet (a Switch 2 region backed as it
is written, with its backing pending) made that memcpy fault: Mario Kart
World crashed in WriteBlockImpl (access violation) on its title screen
in two runs of a build on the 10-31 nx2. Such a page now takes the
per-page copy, which reports and skips missing pages, as non-continuous
big pages already did. Three 10-minute runs after the change, no crash.
Diffstat (limited to 'src/video_core/buffer_cache/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions
