mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 23:02:47 +01:00
Merge pull request #1080 from yuriks/linear-heap-base-typo
Kernel: Fix wrong linear heap base on titles using newer kernels
This commit is contained in:
commit
bac1a6b140
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void Process::Run(s32 main_thread_priority, u32 stack_size) {
|
||||||
}
|
}
|
||||||
|
|
||||||
VAddr Process::GetLinearHeapBase() const {
|
VAddr Process::GetLinearHeapBase() const {
|
||||||
return (kernel_version < 0x22C ? Memory::LINEAR_HEAP_VADDR : Memory::NEW_LINEAR_HEAP_SIZE)
|
return (kernel_version < 0x22C ? Memory::LINEAR_HEAP_VADDR : Memory::NEW_LINEAR_HEAP_VADDR)
|
||||||
+ memory_region->base;
|
+ memory_region->base;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue