1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-08 22:25:28 +00:00

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.
This commit is contained in:
Oliver Schmidt
2019-05-08 10:22:12 +02:00
committed by GitHub
parent a24e3d9e72
commit a01c4231f2

View File

@@ -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