Redo menu a little

This commit is contained in:
Miloslav Ciz 2025-06-09 20:57:17 +02:00
parent 23c63d101a
commit 4b6fcdb1a4
4 changed files with 7 additions and 8 deletions

View file

@ -1980,10 +1980,8 @@ void LCR_rendererDrawMenu(const char *tabName,const char **items,
unsigned char itemCount,char selectedItem, char scroll)
{
#if !LCR_ANT_RESOLUTION
int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 11;
int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
// int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 7;
// int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 9;
int stripHeight = (2 * LCR_EFFECTIVE_RESOLUTION_Y) / 11;
int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
#else
int stripHeight = 6;
int stripHeight2 = 0;
@ -1991,7 +1989,7 @@ int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
int i = 0;
#if !(LCR_SETTING_POTATO_GRAPHICS || LCR_SETTING_332_COLOR)
uint16_t effect = LCR_renderer.frame >> 1;
uint16_t effect = LCR_renderer.frame >> 2;
#endif
LCR_LOG2("drawing menu");
@ -2002,7 +2000,7 @@ int stripHeight2 = LCR_EFFECTIVE_RESOLUTION_Y / 12;
#if LCR_SETTING_POTATO_GRAPHICS || LCR_SETTING_332_COLOR
);
#else
^ (effect & 0x41c3));
^ (effect & 0x1863) ^ (i & 0x1863));
effect += 5 + i % 4;
#endif