diff --git a/Il2CppDumper/Elf.cs b/Il2CppDumper/Elf.cs index 4778294..470ed2f 100644 --- a/Il2CppDumper/Elf.cs +++ b/Il2CppDumper/Elf.cs @@ -153,7 +153,7 @@ namespace Il2CppDumper { var dataList = new List(); var execList = new List(); - foreach (var phdr in program_table.Where(x => x.p_type == 1u)) + foreach (var phdr in program_table) { if (phdr.p_memsz != 0ul) { diff --git a/Il2CppDumper/Elf64.cs b/Il2CppDumper/Elf64.cs index be2f5c8..a5d697a 100644 --- a/Il2CppDumper/Elf64.cs +++ b/Il2CppDumper/Elf64.cs @@ -100,7 +100,7 @@ namespace Il2CppDumper { var dataList = new List(); var execList = new List(); - foreach (var phdr in program_table.Where(x => x.p_type == 1u)) + foreach (var phdr in program_table) { if (phdr.p_memsz != 0ul) {