ref: ab50c202547195701c82c8351464cd30e39ecd0d
parent: a7a315bff61bff58a9c918294f53c1e87d7ae7bb
author: Jacob Moody <[email protected]>
date: Wed Sep 20 15:33:48 EDT 2023
games/aout2gba: allow either ARM or ARMB mach type libmach now recognizes gba aout files as 'boot images' so this check needs updated.
--- a/sys/src/games/aout2gba.c
+++ b/sys/src/games/aout2gba.c
@@ -105,7 +105,7 @@
sysfatal("infd: %r");
if(crackhdr(infd, &fhdr) == 0)
sysfatal("crackhdr: %r");
- if(fhdr.type != FARM)
+ if(fhdr.type != FARM && fhdr.type != FARMB)
sysfatal("not an arm32 a.out");
iname = strrchr(argv[0], '/');
if(iname != nil)