yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

nso: Load subsdk4 if available.

This commit is contained in:
bunnei 2018-01-15 17:18:24 -05:00
parent 1a3b3e9100
commit 6f904bb622
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ ResultStatus AppLoader_NSO::Load(Kernel::SharedPtr<Kernel::Process>& process) {
// Load NSO modules // Load NSO modules
VAddr next_load_addr{Memory::PROCESS_IMAGE_VADDR}; VAddr next_load_addr{Memory::PROCESS_IMAGE_VADDR};
for (const auto& module : {"rtld", "sdk", "subsdk0", "subsdk1", "subsdk2", "subsdk3"}) { for (const auto& module : {"rtld", "sdk", "subsdk0", "subsdk1", "subsdk2", "subsdk3", "subsdk4"}) {
const std::string path = filepath.substr(0, filepath.find_last_of("/\\")) + "/" + module; const std::string path = filepath.substr(0, filepath.find_last_of("/\\")) + "/" + module;
const VAddr load_addr = next_load_addr; const VAddr load_addr = next_load_addr;
next_load_addr = LoadNso(path, load_addr); next_load_addr = LoadNso(path, load_addr);