aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/patch_manager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-10 14:18:27 -0400
committerLioncash <mathew1800@gmail.com>2018-10-10 20:30:49 -0400
commit4f85c1d36ff52eface3e06e9b0ba76d1fd30abfa (patch)
tree50b2141eebfa4e50fa8fb71fb03eeb32db6791c1 /src/core/file_sys/patch_manager.cpp
parent2dd774a803fdda876771ebb9e7f9dca2d15140c4 (diff)
svc: Add missing address range sanitizing checks to MapMemory/UnmapMemory
This adds the missing address range checking that the service functions do before attempting to map or unmap memory. Given that both service functions perform the same set of checks in the same order, we can wrap these into a function and just call it from both functions, which deduplicates a little bit of code.
Diffstat (limited to 'src/core/file_sys/patch_manager.cpp')
0 files changed, 0 insertions, 0 deletions