From 989ddb35a8b35b1f0f00134709969004bf5d86f8 Mon Sep 17 00:00:00 2001 From: Alfrix Date: Mon, 12 Nov 2018 00:54:24 -0300 Subject: [PATCH] Cleanup --- menu/drivers/ozone.c | 4 ---- menu/drivers/xmb.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/menu/drivers/ozone.c b/menu/drivers/ozone.c index e91b6b84db..b35f9bed86 100644 --- a/menu/drivers/ozone.c +++ b/menu/drivers/ozone.c @@ -1266,10 +1266,6 @@ static unsigned ozone_entries_icon_get_id(ozone_handle_t *ozone, if ( type == input_id + 5) return OZONE_ENTRIES_ICONS_TEXTURE_SAVING; input_id = input_id + 7; - while (type > (input_id + 35)) - { - input_id = (input_id + 36) ; - } } else { diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index cc32a62a1c..3d1573661d 100755 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -2635,10 +2635,6 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb, if ( type == input_id + 5) return xmb->textures.list[XMB_TEXTURE_SAVING]; input_id = input_id + 7; - while (type > (input_id + 35)) - { - input_id = (input_id + 36) ; - } } else {