1
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle/service/ldr
Michael Scire 072a9796f5 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.
2019-07-11 01:38:28 -07:00
..
ldr.cpp Restore memory perms on svcUnmapMemory/UnloadNro 2019-07-11 01:38:28 -07:00
ldr.h service: Add ldr services 2018-07-25 23:11:03 -04:00