summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-08-22 23:12:23 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-08-22 23:12:23 +0200
commit78735e2ada594d25d5b55edaf2d84fd9512b2c46 (patch)
treeaf7b9099ccb288bae6b49e2644784e7b60989196 /src
parentMerge pull request #1025 from yuriks/heap-management (diff)
downloadyuzu-78735e2ada594d25d5b55edaf2d84fd9512b2c46.tar
yuzu-78735e2ada594d25d5b55edaf2d84fd9512b2c46.tar.gz
yuzu-78735e2ada594d25d5b55edaf2d84fd9512b2c46.tar.bz2
yuzu-78735e2ada594d25d5b55edaf2d84fd9512b2c46.tar.lz
yuzu-78735e2ada594d25d5b55edaf2d84fd9512b2c46.tar.xz
yuzu-78735e2ada594d25d5b55edaf2d84fd9512b2c46.tar.zst
yuzu-78735e2ada594d25d5b55edaf2d84fd9512b2c46.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory.h b/src/core/memory.h
index c136cbd55..5af72b7a7 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -106,7 +106,7 @@ enum : VAddr {
/// Area where TLS (Thread-Local Storage) buffers are allocated.
TLS_AREA_VADDR = 0x1FF82000,
TLS_ENTRY_SIZE = 0x200,
- TLS_AREA_SIZE = 300 * TLS_ENTRY_SIZE, // Allows for up to 300 threads
+ TLS_AREA_SIZE = 300 * TLS_ENTRY_SIZE + 0x800, // Space for up to 300 threads + round to page size
TLS_AREA_VADDR_END = TLS_AREA_VADDR + TLS_AREA_SIZE,