diff options
| author | 2015-03-24 23:22:56 -0400 | |
|---|---|---|
| committer | 2015-03-24 23:22:56 -0400 | |
| commit | c4767f3bb2da17c8b14df78f47db10696f91960a (patch) | |
| tree | 322962279fbb1c2f22bd42487ec3fdea728e2a12 /src | |
| parent | Merge pull request #674 from lioncash/sys-instrs (diff) | |
| parent | ConfigMem: Set the app memory to be 96MB instead of the default 64MB (diff) | |
| download | yuzu-c4767f3bb2da17c8b14df78f47db10696f91960a.tar.gz yuzu-c4767f3bb2da17c8b14df78f47db10696f91960a.tar.xz yuzu-c4767f3bb2da17c8b14df78f47db10696f91960a.zip | |
Merge pull request #672 from purpasmart96/citra_moar_app_mem
ConfigMem: Set the app memory to be 96MB instead of the default 64MB
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/config_mem.cpp | 4 |
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() { | |||
| 65 | config_mem.sys_core_ver = 0x2; | 65 | config_mem.sys_core_ver = 0x2; |
| 66 | config_mem.unit_info = 0x1; // Bit 0 set for Retail | 66 | config_mem.unit_info = 0x1; // Bit 0 set for Retail |
| 67 | config_mem.prev_firm = 0; | 67 | config_mem.prev_firm = 0; |
| 68 | config_mem.app_mem_type = 0; // Defualt app mem type | 68 | config_mem.app_mem_type = 0x2; // Default app mem type is 0 |
| 69 | config_mem.unit_info = 0x1; // Bit 0 set for Retail | 69 | config_mem.unit_info = 0x1; // Bit 0 set for Retail |
| 70 | config_mem.app_mem_alloc = 0x04000000; // Default app memory size is 64MB | 70 | config_mem.app_mem_alloc = 0x06000000; // Set to 96MB, since some games use more than the default (64MB) |
| 71 | config_mem.base_mem_alloc = 0x01400000; // Default base memory is 20MB | 71 | config_mem.base_mem_alloc = 0x01400000; // Default base memory is 20MB |
| 72 | config_mem.sys_mem_alloc = Memory::FCRAM_SIZE - (config_mem.app_mem_alloc + config_mem.base_mem_alloc); | 72 | config_mem.sys_mem_alloc = Memory::FCRAM_SIZE - (config_mem.app_mem_alloc + config_mem.base_mem_alloc); |
| 73 | config_mem.firm_unk = 0; | 73 | config_mem.firm_unk = 0; |