0
0
mirror of https://git.tardis.systems/mirrors/yuzu.git synced 2025-01-03 03:54:45 +00:00

Kernel: Fix wrong linear heap base on titles using newer kernels

Typo which sneaked in through review on #1025
This commit is contained in:
Yuri Kunde Schlesner 2015-08-27 23:52:40 -03:00
parent 2978b5fbc8
commit 0ee3e2c25e

View File

@ -129,7 +129,7 @@ void Process::Run(s32 main_thread_priority, u32 stack_size) {
}
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;
}