sys_prx: implement get_module_id_by_name, module_info_v2 (#16573)

This commit is contained in:
Emma 2025-01-18 13:16:38 +00:00 committed by GitHub
parent 0a6f9ed967
commit 10e0fb2b54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 51 additions and 6 deletions

View file

@ -221,7 +221,7 @@ error_code sys_prx_get_module_info(ppu_thread& ppu, u32 id, u64 flags, vm::ptr<s
opt->info = info;
// Call the syscall
return _sys_prx_get_module_info(ppu, id, 0, opt);
return _sys_prx_get_module_info(ppu, id, flags, opt);
}
error_code sys_prx_get_module_id_by_name(ppu_thread& ppu, vm::cptr<char> name, u64 flags, vm::ptr<sys_prx_get_module_id_by_name_option_t> pOpt)