summaryrefslogtreecommitdiff
path: root/src/core/gdbstub/gdbstub.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-10-10 14:18:27 -0400
committerGravatar Lioncash2018-10-10 20:30:49 -0400
commit72e9cb523e1adfe744aab1d9a05f3c804fe86ccb (patch)
tree50b2141eebfa4e50fa8fb71fb03eeb32db6791c1 /src/core/gdbstub/gdbstub.cpp
parentMerge pull request #1460 from FernandoS27/scissor_test (diff)
downloadyuzu-72e9cb523e1adfe744aab1d9a05f3c804fe86ccb.tar.gz
yuzu-72e9cb523e1adfe744aab1d9a05f3c804fe86ccb.tar.xz
yuzu-72e9cb523e1adfe744aab1d9a05f3c804fe86ccb.zip
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/gdbstub/gdbstub.cpp')
0 files changed, 0 insertions, 0 deletions