From a4da039c0c2f0731057b26398b6729819bbdaaeb Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 31 Oct 2021 17:23:53 +0200 Subject: [PATCH] update libpicofe --- .gitmodules | 4 ++-- Makefile | 1 + frontend/libpicofe | 2 +- frontend/plat_omap.c | 2 +- frontend/plat_pollux.c | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitmodules b/.gitmodules index 5f7f360c..691f8309 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,9 @@ [submodule "libpicofe"] path = frontend/libpicofe - url = git://notaz.gp2x.de/~notaz/libpicofe.git + url = https://github.com/notaz/libpicofe.git [submodule "warm"] path = frontend/warm - url = git://notaz.gp2x.de/~notaz/warm.git + url = https://github.com/notaz/warm.git [submodule "libchdr"] path = libchdr url = https://github.com/rtissera/libchdr.git diff --git a/Makefile b/Makefile index e3b90998..f8d1dc17 100644 --- a/Makefile +++ b/Makefile @@ -222,6 +222,7 @@ ifeq "$(USE_PLUGIN_LIB)" "1" OBJS += frontend/plugin_lib.o OBJS += frontend/libpicofe/linux/plat.o OBJS += frontend/libpicofe/readpng.o frontend/libpicofe/fonts.o +frontend/libpicofe/linux/plat.o: CFLAGS += -DNO_HOME_DIR ifeq "$(HAVE_NEON)" "1" OBJS += frontend/libpicofe/arm/neon_scale2x.o OBJS += frontend/libpicofe/arm/neon_eagle2x.o diff --git a/frontend/libpicofe b/frontend/libpicofe index 21604a04..c668921a 160000 --- a/frontend/libpicofe +++ b/frontend/libpicofe @@ -1 +1 @@ -Subproject commit 21604a047941b8fe81d381ede0371c75da964afd +Subproject commit c668921a45b7a7f5f548d0e09836f143f56b4ae0 diff --git a/frontend/plat_omap.c b/frontend/plat_omap.c index f25f31cc..c4bff313 100644 --- a/frontend/plat_omap.c +++ b/frontend/plat_omap.c @@ -223,7 +223,7 @@ void plat_omap_init(void) exit(1); } - g_menuscreen_w = w; + g_menuscreen_w = g_menuscreen_pp = w; g_menuscreen_h = h; g_menuscreen_ptr = vout_fbdev_flip(main_fb); pl_rearmed_cbs.screen_w = w; diff --git a/frontend/plat_pollux.c b/frontend/plat_pollux.c index 33e94178..18b80531 100644 --- a/frontend/plat_pollux.c +++ b/frontend/plat_pollux.c @@ -555,7 +555,7 @@ void plat_init(void) memset(fb_vaddrs[0], 0, FB_VRAM_SIZE); pollux_changemode(16, 0); - g_menuscreen_w = 320; + g_menuscreen_w = g_menuscreen_pp = 320; g_menuscreen_h = 240; g_menuscreen_ptr = fb_flip(); -- 2.39.2