summaryrefslogtreecommitdiffstats
path: root/src/core/loader/elf.cpp
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-05-09 15:57:29 +0200
committerTony Wasserka <neobrainx@gmail.com>2015-05-09 15:57:29 +0200
commite35e72d0a5c90c37d22328115fa0f29dd17aeaee (patch)
tree4053db2c53a1ac77294c03782de75c91c0cf4b27 /src/core/loader/elf.cpp
parentLoader: Add missing include (diff)
parentMemory: Add GetPhysicalPointer helper function (diff)
downloadyuzu-e35e72d0a5c90c37d22328115fa0f29dd17aeaee.tar
yuzu-e35e72d0a5c90c37d22328115fa0f29dd17aeaee.tar.gz
yuzu-e35e72d0a5c90c37d22328115fa0f29dd17aeaee.tar.bz2
yuzu-e35e72d0a5c90c37d22328115fa0f29dd17aeaee.tar.lz
yuzu-e35e72d0a5c90c37d22328115fa0f29dd17aeaee.tar.xz
yuzu-e35e72d0a5c90c37d22328115fa0f29dd17aeaee.tar.zst
yuzu-e35e72d0a5c90c37d22328115fa0f29dd17aeaee.zip
Diffstat (limited to 'src/core/loader/elf.cpp')
-rw-r--r--src/core/loader/elf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/elf.cpp b/src/core/loader/elf.cpp
index f86a98b8c..47d4e8cea 100644
--- a/src/core/loader/elf.cpp
+++ b/src/core/loader/elf.cpp
@@ -355,7 +355,7 @@ ResultStatus AppLoader_ELF::Load() {
Kernel::g_current_process->address_mappings = default_address_mappings;
ElfReader elf_reader(&buffer[0]);
- elf_reader.LoadInto(Memory::EXEFS_CODE_VADDR);
+ elf_reader.LoadInto(Memory::PROCESS_IMAGE_VADDR);
// TODO: Fill application title
Kernel::g_current_process->Run(elf_reader.GetEntryPoint(), 48, Kernel::DEFAULT_STACK_SIZE);