From: Oliver Schmidt Date: Wed, 8 May 2019 08:22:12 +0000 (+0200) Subject: Fixed _textcolor definition. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=cc65 Fixed _textcolor definition. The _textcolor() macro doesn't just turn on the macro optimization. It defines the return value of textcolor() - and that is supposed to be a COLOR_... value. --- diff --git a/include/atari.h b/include/atari.h index 4fc027d20..582e23be6 100644 --- a/include/atari.h +++ b/include/atari.h @@ -540,7 +540,7 @@ extern void atrx15p2_tgi[]; ** to be overlaid by macros with the same names, saving the function call ** overhead. */ -#define _textcolor(color) 1 +#define _textcolor(color) COLOR_WHITE /* End of atari.h */ #endif