citra/src/core/hle
Pengfei Zhu 3edc4a3055
service/ldr_ro: Fix CRO loading when the buffer contained multiple VM areas (#5125)
* vm_manager: Handle multiple areas in ChangeMemoryState

It is possible that a few areas have the same permisson and state, but with different backing pointers. Currently, this function assumes that only one continous area is found, but this is not always the case.

* service/ldr_ro: Handle multiple areas in VerifyBufferState

It is possible that the buffer passed from the game is made up of multiple areas with the same permisson and state but different backing pointers. Change the check to allow that.
2020-03-28 13:26:54 +01:00
..
applets applets/swkbd: Remove text memory clearing 2019-12-01 23:01:07 +08:00
kernel service/ldr_ro: Fix CRO loading when the buffer contained multiple VM areas (#5125) 2020-03-28 13:26:54 +01:00
service service/ldr_ro: Fix CRO loading when the buffer contained multiple VM areas (#5125) 2020-03-28 13:26:54 +01:00
ipc.h Kernel/Thread: move thread queue, current thread, and scheduling related function into the manager 2018-10-26 16:07:11 -04:00
ipc_helpers.h ipc_helpers: silent signed comparison warning 2019-07-14 14:52:17 -04:00
lock.cpp hle/lock: Remove #pragma once in cpp file 2017-10-21 13:59:14 +01:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h ResultCode: use default copy assignment 2018-11-12 13:59:34 -05:00
romfs.cpp RomFSFile: Default constructor 2018-07-26 13:10:56 +02:00
romfs.h RomFSFile: Default constructor 2018-07-26 13:10:56 +02:00