summaryrefslogtreecommitdiff
path: root/src/core/hle/config_mem.cpp
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-08-05 21:26:52 -0300
committerGravatar Yuri Kunde Schlesner2015-08-16 01:03:47 -0300
commit74d4bc0af1d2f22105bf3c00efcb85613d59cc19 (patch)
tree171c5d0508d99f9ef4dcba2a0e3543eb9bdfa1db /src/core/hle/config_mem.cpp
parentHLE: Remove empty ConfigMem and SharedPage Shutdown functions (diff)
downloadyuzu-74d4bc0af1d2f22105bf3c00efcb85613d59cc19.tar.gz
yuzu-74d4bc0af1d2f22105bf3c00efcb85613d59cc19.tar.xz
yuzu-74d4bc0af1d2f22105bf3c00efcb85613d59cc19.zip
Kernel: Add more infrastructure to support different memory layouts
This adds some structures necessary to support multiple memory regions in the future. It also adds support for different system memory types and the new linear heap mapping at 0x30000000.
Diffstat (limited to 'src/core/hle/config_mem.cpp')
-rw-r--r--src/core/hle/config_mem.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/hle/config_mem.cpp b/src/core/hle/config_mem.cpp
index 94bca0378..b1a72dc0c 100644
--- a/src/core/hle/config_mem.cpp
+++ b/src/core/hle/config_mem.cpp
@@ -25,10 +25,6 @@ void Init() {
25 config_mem.sys_core_ver = 0x2; 25 config_mem.sys_core_ver = 0x2;
26 config_mem.unit_info = 0x1; // Bit 0 set for Retail 26 config_mem.unit_info = 0x1; // Bit 0 set for Retail
27 config_mem.prev_firm = 0; 27 config_mem.prev_firm = 0;
28 config_mem.app_mem_type = 0x2; // Default app mem type is 0
29 config_mem.app_mem_alloc = 0x06000000; // Set to 96MB, since some games use more than the default (64MB)
30 config_mem.base_mem_alloc = 0x01400000; // Default base memory is 20MB
31 config_mem.sys_mem_alloc = Memory::FCRAM_SIZE - (config_mem.app_mem_alloc + config_mem.base_mem_alloc);
32 config_mem.firm_unk = 0; 28 config_mem.firm_unk = 0;
33 config_mem.firm_version_rev = 0; 29 config_mem.firm_version_rev = 0;
34 config_mem.firm_version_min = 0x40; 30 config_mem.firm_version_min = 0x40;