From e5b328607d66dab96cd67f8e494b05e1ff5615bf Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 14 Jan 2016 13:30:25 +0100 Subject: [PATCH] Avoid adding 'Add Tab' to XMB list if HAVE_LIBRETRODB is not defined --- menu/drivers/xmb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 540757e244..b5c99ed918 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -127,7 +127,11 @@ enum XMB_SYSTEM_TAB_ADD }; +#ifdef HAVE_LIBRETRODB #define XMB_SYSTEM_TAB_END XMB_SYSTEM_TAB_ADD +#else +#define XMB_SYSTEM_TAB_END XMB_SYSTEM_TAB_HISTORY +#endif struct xmb_texture_item {