mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
liblv2 HLE: Fix spu_elf_info loader for SCE SPU images (#8045)
This commit is contained in:
parent
cf229a8e9f
commit
8cb1f4fe26
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ struct spu_elf_info
|
|||
return CELL_ENOEXEC;
|
||||
}
|
||||
|
||||
std::memcpy(&self, src.get_ptr(), sizeof(self));
|
||||
std::memcpy(&self, static_cast<const uchar*>(src.get_ptr()) + sizeof(sce0), sizeof(self));
|
||||
ehdr_off = static_cast<u32>(+self.se_elfoff);
|
||||
phdr_off = static_cast<u32>(+self.se_phdroff);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue