}\r
\r
#define is_16bit_mode() \\r
- (get_renderer() == RT_16BIT || (PicoIn.AHW & PAHW_32X))\r
+ (currentConfig.renderer == RT_16BIT || (PicoIn.AHW & PAHW_32X))\r
\r
static void (*osd_text)(int x, int y, const char *text);\r
\r
int x, y, pitch = 320;\r
\r
// only if pen enabled and for 16bit modes\r
- if (pico_inp_mode == 0 || currentConfig.EmuOpt != RT_16BIT)\r
+ if (pico_inp_mode == 0 || !is_16bit_mode())\r
return;\r
\r
x = pico_pen_x + PICO_PEN_ADJUST_X;\r