diff options
author | neonloop | 2023-01-09 14:36:40 +0000 |
---|---|---|
committer | neonloop | 2023-01-09 14:36:40 +0000 |
commit | 6d0d8f2ce924a0b1a433280160d90f71121509a4 (patch) | |
tree | f2e99784fa3e708ae8ac70d65f721c65cf171184 /patches/libpicofe | |
parent | 50d426b6d2c84d4ddc32009268d99047e83ced7f (diff) | |
download | picoarch-6d0d8f2ce924a0b1a433280160d90f71121509a4.tar.gz picoarch-6d0d8f2ce924a0b1a433280160d90f71121509a4.tar.bz2 picoarch-6d0d8f2ce924a0b1a433280160d90f71121509a4.zip |
Adds initial Funkey S support
Diffstat (limited to 'patches/libpicofe')
-rw-r--r-- | patches/libpicofe/0002-small-screen.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/libpicofe/0002-small-screen.patch b/patches/libpicofe/0002-small-screen.patch new file mode 100644 index 0000000..2a5d828 --- /dev/null +++ b/patches/libpicofe/0002-small-screen.patch @@ -0,0 +1,13 @@ +diff --git a/menu.c b/menu.c +index e91f84a..3c98f1f 100644 +--- a/menu.c ++++ b/menu.c +@@ -518,7 +518,7 @@ static void me_draw(const menu_entry *entries, int sel, void (*draw_more)(void)) + {
+ const menu_entry *ent, *ent_sel = entries;
+ int x, y, w = 0, h = 0;
+- int offs, col2_offs = 27 * me_mfont_w;
++ int offs, col2_offs = (g_menuscreen_w >= 320 ? 27 : 0) * me_mfont_w;
+ int vi_sel_ln = 0;
+ const char *name;
+ int i, n;
|