summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Rodrigo Locatti2020-04-23 21:47:24 -0300
committerGravatar GitHub2020-04-23 21:47:24 -0300
commitdb3dcb2f6477cd633a454fbd8db8df4b67213b8e (patch)
treed1f2717cc268b3f5be66dad2a9c8363fb38e40d2
parentMerge pull request #3781 from lioncash/docs (diff)
parentsvc: Remove unused variable (diff)
downloadyuzu-db3dcb2f6477cd633a454fbd8db8df4b67213b8e.tar.gz
yuzu-db3dcb2f6477cd633a454fbd8db8df4b67213b8e.tar.xz
yuzu-db3dcb2f6477cd633a454fbd8db8df4b67213b8e.zip
Merge pull request #3778 from lioncash/unused-var
svc: Remove unused variable
-rw-r--r--src/core/hle/kernel/svc.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 4134acf65..dc5bcc2e5 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -55,9 +55,6 @@ constexpr bool IsValidAddressRange(VAddr address, u64 size) {
55 return address + size > address; 55 return address + size > address;
56} 56}
57 57
58// 8 GiB
59constexpr u64 MAIN_MEMORY_SIZE = 0x200000000;
60
61// Helper function that performs the common sanity checks for svcMapMemory 58// Helper function that performs the common sanity checks for svcMapMemory
62// and svcUnmapMemory. This is doable, as both functions perform their sanitizing 59// and svcUnmapMemory. This is doable, as both functions perform their sanitizing
63// in the same order. 60// in the same order.