From 2f907c2ac5ebf856d7302057488abfdc5bdef16b Mon Sep 17 00:00:00 2001 From: BPanther Date: Sat, 23 Jan 2021 17:07:15 +0100 Subject: [PATCH] fix tuxtxt for hd51 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/2c3fddb4b2054351e51b940b6f21c13dfacf492a Author: BPanther Date: 2021-01-23 (Sat, 23 Jan 2021) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- lib/libtuxtxt/tuxtxt.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/libtuxtxt/tuxtxt.h b/lib/libtuxtxt/tuxtxt.h index 7dc2c1755..b74601ce6 100644 --- a/lib/libtuxtxt/tuxtxt.h +++ b/lib/libtuxtxt/tuxtxt.h @@ -91,10 +91,18 @@ int tv_pip_y; //#define TV169FULLSTARTX (sx+ 8*40) //(sx +(ex +1 - sx)/2) #define TV169FULLSTARTX (screen_x + screen_w / 2) +#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE +#define TV169FULLSTARTY (screen_h / 4) +#else #define TV169FULLSTARTY sy +#endif //#define TV169FULLWIDTH (ex - sx)/2 #define TV169FULLWIDTH (screen_w / 2) +#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE +#define TV169FULLHEIGHT (screen_h / 2) +#else #define TV169FULLHEIGHT (ey - sy) +#endif #define TOPMENUSTARTX (TV43STARTX+2) //#define TOPMENUENDX TVENDX #define TOPMENUSTARTY StartY