memory: Support 32-bit paging, move heap address space up.

This commit is contained in:
bunnei 2017-10-22 23:17:59 -04:00
parent dcd6bb82f7
commit 9ceb0d9381
2 changed files with 3 additions and 3 deletions

View file

@ -163,7 +163,7 @@ ResultStatus AppLoader_NSO::Load(Kernel::SharedPtr<Kernel::Process>& process) {
// Load and relocate remaining submodules
for (const auto& module_name : {"main", "sdk", "subsdk0", "subsdk1"}) {
LOG_INFO(Loader, "loading %s @ 0x%08x", module_name, next_base_addr);
LOG_INFO(Loader, "loading %s @ 0x%llx", module_name, next_base_addr);
const std::string module_path =
filepath.substr(0, filepath.find_last_of("/\\")) + "/" + module_name;
next_base_addr = LoadNso(module_path, next_base_addr);