X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libsrc%2Ftgi%2Ftgi_getmaxcolor.s;h=2e2b2ad0e8332cb092a81f559e60dbfa963d9a33;hb=c3922228a989cf93e3b7a2a7c5099d8f0e15ea5c;hp=dda4fb2439c4677a9d90e374ccfc6cc06a28ccef;hpb=897c1d8523455d2f7a2ab1f7ff6c6fdd4135eebc;p=cc65 diff --git a/libsrc/tgi/tgi_getmaxcolor.s b/libsrc/tgi/tgi_getmaxcolor.s index dda4fb243..2e2b2ad0e 100644 --- a/libsrc/tgi/tgi_getmaxcolor.s +++ b/libsrc/tgi/tgi_getmaxcolor.s @@ -5,17 +5,17 @@ ; /* Return the maximum supported color number (the number of colors would ; * then be getmaxcolor()+1). ; */ +; .include "tgi-kernel.inc" - .export _tgi_getmaxcolor +.proc _tgi_getmaxcolor -_tgi_getmaxcolor: - ldx _tgi_colors + ldx _tgi_colorcount dex txa ldx #0 rts - +.endproc