ref: 3ca766f5d2cf717a5c68414a47db2ced4814e172
parent: a5640218f8faf8d5e69274f3388c062ebe5fb208
author: Jacob Moody <moody@posixcafe.org>
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)
--
⑨