aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRangi42 <remy.oukaour+rangi42@gmail.com>2024-06-28 16:04:57 -0400
committerRangi42 <remy.oukaour+rangi42@gmail.com>2024-06-28 16:04:57 -0400
commit70228c2c4a94a8079d5d465c802d4f0159caa592 (patch)
tree6b55b9d1b29da20550e06f621a96a1039397e7a2
parentIdentify some unused WRAM variables (#453) (diff)
downloadpokeyellow-70228c2c4a94a8079d5d465c802d4f0159caa592.tar.gz
pokeyellow-70228c2c4a94a8079d5d465c802d4f0159caa592.tar.xz
pokeyellow-70228c2c4a94a8079d5d465c802d4f0159caa592.zip
Build with RGBDS 0.8.0, though it is not yet required
-rw-r--r--.github/workflows/main.yml2
-rwxr-xr-xtools/unnamed.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 03d5dc0d..0a0da0f3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@master
with:
path: rgbds
- ref: v0.7.0
+ ref: v0.8.0
repository: gbdev/rgbds
- name: Install rgbds
diff --git a/tools/unnamed.py b/tools/unnamed.py
index e6426aaf..f3081e97 100755
--- a/tools/unnamed.py
+++ b/tools/unnamed.py
@@ -90,14 +90,14 @@ for objfile in objects:
elif magic == b'RGB9':
obj_ver = 10 + unpack_from('<I', file)[0]
- if obj_ver not in [6, 10, 11, 12, 13, 15, 16, 17, 18, 19]:
+ if obj_ver not in [6, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20]:
print(f"Error: File '{objfile}' is of an unknown format.", file=sys.stderr)
sys.exit(1)
num_symbols = unpack_from('<I', file)[0]
unpack_from('<I', file) # skip num sections
- if obj_ver in [16, 17, 18, 19]:
+ if obj_ver in [16, 17, 18, 19, 20]:
node_filenames = []
num_nodes = unpack_from('<I', file)[0]
for x in range(num_nodes):
@@ -117,7 +117,7 @@ for objfile in objects:
sym_type = symtype(unpack_from('<B', file)[0] & 0x7f)
if sym_type == symtype.IMPORT:
continue
- if obj_ver in [16, 17, 18, 19]:
+ if obj_ver in [16, 17, 18, 19, 20]:
sym_fileno = unpack_from('<I', file)[0]
sym_filename = node_filenames[sym_fileno]
else: