Skip to content

Commit e67d599

Browse files
committed
Enable PS instructions for any 32-bit PPC ELF
Fixes an issue where ProDG for GameCube objects were not enabling PS instruction support.
1 parent 91bc23e commit e67d599

File tree

1 file changed

+3
-1
lines changed
  • objdiff-core/src/arch/ppc

1 file changed

+3
-1
lines changed

objdiff-core/src/arch/ppc/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ impl ArchPpc {
6666
if file.is_64() {
6767
powerpc::Extension::Ppc64 | powerpc::Extension::AltiVec
6868
} else {
69-
powerpc::Extension::AltiVec.into()
69+
// Gekko/Broadway objects often use the EF_PPC_EMB flag,
70+
// but ProDG in particular does not emit it.
71+
powerpc::Extensions::gekko_broadway()
7072
}
7173
}
7274
};

0 commit comments

Comments
 (0)