some elf improvements

This commit is contained in:
georgemoralis 2024-03-26 00:21:38 +02:00
parent f2f04142b0
commit 365ae2aac9
3 changed files with 12 additions and 0 deletions

View file

@ -538,4 +538,8 @@ void Elf::LoadSegment(u64 virtual_addr, u64 file_offset, u64 size) {
UNREACHABLE();
}
bool Elf::IsSharedLib() {
return m_elf_header.e_type == ET_SCE_DYNAMIC;
}
} // namespace Core::Loader