aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-02-24 17:46:58 -0500
committerB. Watson <yalhcru@gmail.com>2016-02-24 17:46:58 -0500
commit82cf312bd70d24a5dfebe8a6eac7f81d1bd7ca7f (patch)
tree766626e2e61fa8b301efa1277f8017c929501970
parentad6e5ee981f85839443cc359537bf2997f5ad11d (diff)
downloadtaipan-82cf312bd70d24a5dfebe8a6eac7f81d1bd7ca7f.tar.gz
remove color and font saving code from cart build (it never gets restored anyway)
-rw-r--r--newtitle.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/newtitle.s b/newtitle.s
index 610fc60..e70e885 100644
--- a/newtitle.s
+++ b/newtitle.s
@@ -27,12 +27,14 @@ origin = *
; they are.
sound_disabled = $cb
+ .ifndef CART_TARGET
; since we're changing the font and colors, we'll save the old
; ones here. If you change these, change them in taipan.c and soundasm.s
; also.
fontsave = $cc
color1save = $cd
color2save = $ce
+ .endif
version:
.incbin "ver.dat"
@@ -195,6 +197,7 @@ start:
bne @hsloop
.endif
+ .ifndef CART_TARGET
; save old color registers and font addr.
lda CHBAS
sta fontsave
@@ -202,6 +205,7 @@ start:
sta color1save
lda COLOR2
sta color2save
+ .endif
; setup color registers
;lda colorchoices