diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-28 04:52:40 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-08-28 04:52:40 +0200 |
commit | 0ee3e2c25ebb44fbefd8bd0e228868f281c289f7 (patch) | |
tree | f6d8105250ed5a829cbb9348df761ad57fae3ad0 /src | |
parent | Merge pull request #1075 from yuriks/ControlMem-fixes (diff) | |
download | yuzu-0ee3e2c25ebb44fbefd8bd0e228868f281c289f7.tar yuzu-0ee3e2c25ebb44fbefd8bd0e228868f281c289f7.tar.gz yuzu-0ee3e2c25ebb44fbefd8bd0e228868f281c289f7.tar.bz2 yuzu-0ee3e2c25ebb44fbefd8bd0e228868f281c289f7.tar.lz yuzu-0ee3e2c25ebb44fbefd8bd0e228868f281c289f7.tar.xz yuzu-0ee3e2c25ebb44fbefd8bd0e228868f281c289f7.tar.zst yuzu-0ee3e2c25ebb44fbefd8bd0e228868f281c289f7.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index 6279a4bf8..c2b4963d4 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp @@ -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; } |