shithub: pokecrystal

Download patch

ref: 2e8b4836b072602d1c200b1f9735e3e0c4242985
parent: eca33ef190d3dfcb15e24f1e7e9dac4de9ac3437
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Mon Jul 13 16:54:33 EDT 2020

Fix tools/unnamed.py

--- a/tools/unnamed.py
+++ b/tools/unnamed.py
@@ -39,8 +39,8 @@
 if args.rootdir:
     for line in Popen(["make", "-C", args.rootdir, "-s", "-p", "DEBUG=1"],
             stdout=PIPE).stdout.read().decode().split("\n"):
-        if line.startswith("crystal_obj := "):
-            objects = line[15:].strip().split()
+        if line.startswith("pokecrystal_obj := "):
+            objects = line[19:].strip().split()
             break
     else:
         print("Error: Object files not found!", file=stderr)