summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-03-25 04:22:56 +0100
committerbunnei <bunneidev@gmail.com>2015-03-25 04:22:56 +0100
commitc4767f3bb2da17c8b14df78f47db10696f91960a (patch)
tree322962279fbb1c2f22bd42487ec3fdea728e2a12
parentMerge pull request #674 from lioncash/sys-instrs (diff)
parentConfigMem: Set the app memory to be 96MB instead of the default 64MB (diff)
downloadyuzu-c4767f3bb2da17c8b14df78f47db10696f91960a.tar
yuzu-c4767f3bb2da17c8b14df78f47db10696f91960a.tar.gz
yuzu-c4767f3bb2da17c8b14df78f47db10696f91960a.tar.bz2
yuzu-c4767f3bb2da17c8b14df78f47db10696f91960a.tar.lz
yuzu-c4767f3bb2da17c8b14df78f47db10696f91960a.tar.xz
yuzu-c4767f3bb2da17c8b14df78f47db10696f91960a.tar.zst
yuzu-c4767f3bb2da17c8b14df78f47db10696f91960a.zip
-rw-r--r--src/core/hle/config_mem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/config_mem.cpp b/src/core/hle/config_mem.cpp
index b10c19d1d..40bae9346 100644
--- a/src/core/hle/config_mem.cpp
+++ b/src/core/hle/config_mem.cpp
@@ -65,9 +65,9 @@ void Init() {
config_mem.sys_core_ver = 0x2;
config_mem.unit_info = 0x1; // Bit 0 set for Retail
config_mem.prev_firm = 0;
- config_mem.app_mem_type = 0; // Defualt app mem type
+ config_mem.app_mem_type = 0x2; // Default app mem type is 0
config_mem.unit_info = 0x1; // Bit 0 set for Retail
- config_mem.app_mem_alloc = 0x04000000; // Default app memory size is 64MB
+ config_mem.app_mem_alloc = 0x06000000; // Set to 96MB, since some games use more than the default (64MB)
config_mem.base_mem_alloc = 0x01400000; // Default base memory is 20MB
config_mem.sys_mem_alloc = Memory::FCRAM_SIZE - (config_mem.app_mem_alloc + config_mem.base_mem_alloc);
config_mem.firm_unk = 0;