Patch test projects so they build without deprecated features

Also ensure the test scripts pass shellcheck
This commit is contained in:
Rangi42
2024-03-28 16:45:45 -04:00
committed by Sylvie
parent ccfd3b6af8
commit 9dac583e45
6 changed files with 89 additions and 32 deletions

17
test/patches/libbet.patch Normal file
View File

@@ -0,0 +1,17 @@
diff --git a/makefile b/makefile
index 6513518..35826eb 100644
--- a/makefile
+++ b/makefile
@@ -85,10 +85,10 @@ $(title).gb: $(objlisto)
$(RGBFIX) -jvsc -k "OK" -l 0x33 -m ROM -p 0xFF -t "LIBBET" -v $@
obj/gb/%.o: src/%.z80 src/hardware.inc src/global.inc
- ${RGBASM} -h -o $@ $<
+ ${RGBASM} -o $@ $<
obj/gb/%.o: obj/gb/%.z80
- ${RGBASM} -h -o $@ $<
+ ${RGBASM} -o $@ $<
# Files that will be included with incbin