summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-11-27 02:56:50 +0100
committerDavid Marcec <dmarcecguzman@gmail.com>2018-11-27 02:56:50 +0100
commitcc4521fc703e39e216efd57481cb4dbc76778264 (patch)
tree322ae2f57898295e5675657ace211ecd711d705c /src
parentMade svcSetHeapSize and svcCreateSharedMemory more readable (diff)
downloadyuzu-cc4521fc703e39e216efd57481cb4dbc76778264.tar
yuzu-cc4521fc703e39e216efd57481cb4dbc76778264.tar.gz
yuzu-cc4521fc703e39e216efd57481cb4dbc76778264.tar.bz2
yuzu-cc4521fc703e39e216efd57481cb4dbc76778264.tar.lz
yuzu-cc4521fc703e39e216efd57481cb4dbc76778264.tar.xz
yuzu-cc4521fc703e39e216efd57481cb4dbc76778264.tar.zst
yuzu-cc4521fc703e39e216efd57481cb4dbc76778264.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/svc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index 35eee8127..b5c644ede 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -63,6 +63,7 @@ bool IsInsideNewMapRegion(const VMManager& vm, VAddr address, u64 size) {
vm.GetNewMapRegionEndAddress());
}
+// 8 GiB
constexpr u64 MAIN_MEMORY_SIZE = 0x200000000;
// Helper function that performs the common sanity checks for svcMapMemory