mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
gp2x, fix to show pico ptr
This commit is contained in:
parent
f55fb31463
commit
794d463ce9
1 changed files with 2 additions and 2 deletions
|
@ -105,7 +105,7 @@ static void change_renderer(int diff)
|
|||
}
|
||||
|
||||
#define is_16bit_mode() \
|
||||
(get_renderer() == RT_16BIT || (PicoIn.AHW & PAHW_32X))
|
||||
(currentConfig.renderer == RT_16BIT || (PicoIn.AHW & PAHW_32X))
|
||||
|
||||
static void (*osd_text)(int x, int y, const char *text);
|
||||
|
||||
|
@ -192,7 +192,7 @@ static void draw_pico_ptr(void)
|
|||
int x, y, pitch = 320;
|
||||
|
||||
// only if pen enabled and for 16bit modes
|
||||
if (pico_inp_mode == 0 || currentConfig.EmuOpt != RT_16BIT)
|
||||
if (pico_inp_mode == 0 || !is_16bit_mode())
|
||||
return;
|
||||
|
||||
x = pico_pen_x + PICO_PEN_ADJUST_X;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue