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 {