mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-06 09:39:55 +00:00
sys_prx: Fix PRX module filename reading (#13339)
This commit is contained in:
parent
737fbf661a
commit
780a6a7b40
@ -1045,7 +1045,7 @@ error_code _sys_prx_get_module_info(ppu_thread& ppu, u32 id, u64 flags, vm::ptr<
|
|||||||
if (pOpt->info->filename)
|
if (pOpt->info->filename)
|
||||||
{
|
{
|
||||||
std::span dst(pOpt->info->filename.get_ptr(), pOpt->info->filename_size);
|
std::span dst(pOpt->info->filename.get_ptr(), pOpt->info->filename_size);
|
||||||
strcpy_trunc(dst, prx->name);
|
strcpy_trunc(dst, vfs::retrieve(prx->path));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pOpt->info->segments)
|
if (pOpt->info->segments)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user