diff options
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c index e68fdaf61c..fd4f4fcd30 100644 --- a/apps/menu.c +++ b/apps/menu.c | |||
@@ -60,16 +60,20 @@ void put_cursorxy(int x, int y, bool on) | |||
60 | lcd_bitmap ( bitmap_icons_6x8[Cursor], | 60 | lcd_bitmap ( bitmap_icons_6x8[Cursor], |
61 | x*6, y*8, 4, 8, true); | 61 | x*6, y*8, 4, 8, true); |
62 | #elif defined(SIMULATOR) | 62 | #elif defined(SIMULATOR) |
63 | /* player simulator */ | ||
63 | unsigned char cursor[] = { 0x7f, 0x3e, 0x1c, 0x08 }; | 64 | unsigned char cursor[] = { 0x7f, 0x3e, 0x1c, 0x08 }; |
64 | lcd_bitmap ( cursor, x*6, y*8, 4, 8, true); | 65 | lcd_bitmap ( cursor, x*6, 8+y*8, 4, 8, true); |
65 | #else | 66 | #else |
66 | lcd_puts(x, y, CURSOR_CHAR); | 67 | lcd_puts(x, y, CURSOR_CHAR); |
67 | #endif | 68 | #endif |
68 | } | 69 | } |
69 | else { | 70 | else { |
70 | #if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR) | 71 | #if defined(HAVE_LCD_BITMAP) |
71 | /* I use xy here since it needs to disregard the margins */ | 72 | /* I use xy here since it needs to disregard the margins */ |
72 | lcd_clearrect (x*6, y*8, 4, 8); | 73 | lcd_clearrect (x*6, y*8, 4, 8); |
74 | #elif defined(SIMULATOR) | ||
75 | /* player simulator in action */ | ||
76 | lcd_clearrect (x*6, 8+y*8, 4, 8); | ||
73 | #else | 77 | #else |
74 | lcd_puts(x, y, " "); | 78 | lcd_puts(x, y, " "); |
75 | #endif | 79 | #endif |