mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-25 18:53:06 -03:00
[BotW] Fix draw distance crashes
Fixes at least the crash when you go to Vah Ruta, but likely the other crashes too. Fix was made by Exzap, I'm just uploading it.
This commit is contained in:
parent
aa315841d2
commit
fe82cd0f19
1 changed files with 18 additions and 13 deletions
|
@ -33,19 +33,18 @@ PhysicsSystemHeapSize = 512 * 1024; 512KiB (default is 128KiB)
|
|||
0x037fd6d4 = lis r3, PhysicsSystemHeapSize@ha
|
||||
|
||||
; Terrain Scene
|
||||
0x02C5A208 = lis r3, 0x400 #lis r3, 0x140
|
||||
0x02C5A208 = lis r3, 0x400 ; lis r3, 0x140
|
||||
|
||||
; KingSystem -> ForestRenderer
|
||||
0x0338cdbc = lis r3,0x80 # lis r3,0x30
|
||||
0x0338cdbc = lis r3, 0x80 ; lis r3,0x30
|
||||
|
||||
; KingSystem -> ForestRenderer -> ForestRenderer - WorkHeap
|
||||
0x033C9D80 = lis r3, 0x20 # lis r3, 0xC
|
||||
|
||||
|
||||
0x033C9D80 = lis r3, 0x20 ; lis r3, 0xC
|
||||
|
||||
; Overlay arena
|
||||
0x030AA5F4 = lis r7, 0x4000 ; expand overlay arena root heap size to 0x40000000 (1GiB) from default 0x1C000000 (448MiB). Can't make it larger due to forground bucket memory being in the way (starts at 0xE0000000)
|
||||
; Extra size for overlay arena from rules.txt is 0x24000000 (576MiB)
|
||||
|
||||
; Overlay arena -> FixedHeap
|
||||
; FixedHeap seems to store terrain renderer among other things
|
||||
0x034ED614 = lis r3, 0x0C20 + 0x1000 ; add 256MiB
|
||||
|
@ -91,6 +90,12 @@ PhysicsSystemHeapSize = 512 * 1024; 512KiB (default is 128KiB)
|
|||
; PlacementMgr heap
|
||||
0x037c0f30 = li r28, 0x5a + 0x40 ; in MiB
|
||||
|
||||
; Some pool size related to PlacementMgr ?
|
||||
0x02c4136c = li r10, 0x1000 + 0x400
|
||||
0x02c413f0 = li r10, 0x1000 + 0x400
|
||||
0x02c43e64 = li r10, 0x1000 + 0x400
|
||||
0x02c46340 = li r10, 0x1000 + 0x400
|
||||
|
||||
|
||||
; Increase the size of the resource heap for small resources. When using mods like e.g. draw distance this would likely be the reason why it would spawn panic moons.
|
||||
;;_increaseResourceSmallHeap:
|
||||
|
|
Loading…
Add table
Reference in a new issue