Rearrange this

This commit is contained in:
twinaphex 2016-07-17 15:59:38 +02:00
parent c560f1c71b
commit 5d06f654da

View File

@ -1365,11 +1365,6 @@ static void xmb_context_reset_horizontal_list(
file_path_str(FILE_PATH_PNG_EXTENSION),
sizeof(texturepath));
fill_pathname_join_concat(content_texturepath, iconpath,
sysname,
"-content.png",
sizeof(content_texturepath));
if (image_texture_load(&ti, texturepath))
{
if(ti.pixels)
@ -1382,6 +1377,11 @@ static void xmb_context_reset_horizontal_list(
image_texture_free(&ti);
}
fill_pathname_join_concat(content_texturepath, iconpath,
sysname,
"-content.png",
sizeof(content_texturepath));
if (image_texture_load(&ti, content_texturepath))
{
if(ti.pixels)