From 82cf312bd70d24a5dfebe8a6eac7f81d1bd7ca7f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 24 Feb 2016 17:46:58 -0500 Subject: remove color and font saving code from cart build (it never gets restored anyway) --- newtitle.s | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3