From 6d0d8f2ce924a0b1a433280160d90f71121509a4 Mon Sep 17 00:00:00 2001 From: neonloop Date: Mon, 9 Jan 2023 14:36:40 +0000 Subject: Adds initial Funkey S support --- patches/libpicofe/0002-small-screen.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/libpicofe/0002-small-screen.patch (limited to 'patches/libpicofe') 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; -- cgit v1.2.3