shithub: pokered

Download patch

ref: 205c47519171187243d95625878b513bc058964c
parent: 89b79575562b5538340c41ebcf16fc7ff72c0971
author: yenatch <yenatch@gmail.com>
date: Thu Feb 13 19:03:58 EST 2014

Consolidate rgbfix options between Red and Blue.

Yellow and JP roms will take different options, but this is good for now.

--- a/Makefile
+++ b/Makefile
@@ -58,11 +58,14 @@
 	@$(eval TEXTQUEUE :=)
 	rgbasm -o $@ $*.tx
 
+
+OPTIONS = -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03
+
 pokered.gbc: $(RED_OBJS)
 	rgblink -n $*.sym -m $*.map -o $@ $^
-	rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED" $@
+	rgbfix $(OPTIONS) -t "POKEMON RED" $@
 
 pokeblue.gbc: $(BLUE_OBJS)
 	rgblink -n $*.sym -m $*.map -o $@ $^
-	rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE" $@
+	rgbfix $(OPTIONS) -t "POKEMON BLUE" $@