From d01a3493c1fa2051b31ecdb2e665c88726a7e10f Mon Sep 17 00:00:00 2001 From: JPikachu Date: Fri, 31 Oct 2025 15:49:53 +0000 Subject: [PATCH] possible jamboree fix --- src/core/hle/kernel/k_process.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cpp index 59c5fdc174..355a2a5f3b 100644 --- a/src/core/hle/kernel/k_process.cpp +++ b/src/core/hle/kernel/k_process.cpp @@ -1193,11 +1193,11 @@ Result KProcess::LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std: // However, some (buggy) programs/libraries like skyline incorrectly depend on the // existence of ASLR pages before the entry point, so we will adjust the load address // to point to about 2GiB into the ASLR region. - code_address = 0x8000'0000 + CodeStartOffset; + code_address = 0x8000'0000; break; case FileSys::ProgramAddressSpaceType::Is36Bit: flag |= Svc::CreateProcessFlag::AddressSpace64BitDeprecated; - code_address = 0x800'0000 + CodeStartOffset; + code_address = 0x800'0000; break; case FileSys::ProgramAddressSpaceType::Is32Bit: flag |= Svc::CreateProcessFlag::AddressSpace32Bit;