diff options
| author | Michael Scire <SciresM@gmail.com> | 2019-07-11 01:38:28 -0700 |
|---|---|---|
| committer | Michael Scire <SciresM@gmail.com> | 2019-07-11 01:38:28 -0700 |
| commit | 902cad78ee6853b1b15cea9d6ae2a6697f2af4cb (patch) | |
| tree | 9e653f206c6668f04d14a9d96e35ad1fee563ff7 /src/video_core/texture_cache/surface_base.cpp | |
| parent | fbc5e0d199fc792ccfded54f478d59b848bd6e60 (diff) | |
Restore memory perms on svcUnmapMemory/UnloadNro
Prior to PR, Yuzu did not restore memory to RW-
on unmap of mirrored memory or unloading of NRO.
(In fact, in the NRO case, the memory was unmapped
instead of reprotected to --- on Load, so it was
actually lost entirely...)
This PR addresses that, and restores memory to RW-
as it should.
This fixes a crash in Super Smash Bros when creating
a World of Light save for the first time, and possibly
other games/circumstances.
Diffstat (limited to 'src/video_core/texture_cache/surface_base.cpp')
0 files changed, 0 insertions, 0 deletions
