mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(XMB) Get rid of hashes
This commit is contained in:
parent
10cf3bc235
commit
542235ffd7
@ -2376,30 +2376,29 @@ static int xmb_draw_item(
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
enum msg_file_type type = FILE_TYPE_NONE;
|
|
||||||
|
|
||||||
if (!string_is_empty(entry->value))
|
if (!string_is_empty(entry->value))
|
||||||
type = msg_hash_to_file_type(msg_hash_calculate(entry->value));
|
|
||||||
|
|
||||||
switch (type)
|
|
||||||
{
|
{
|
||||||
case FILE_TYPE_IN_CARCHIVE:
|
if (
|
||||||
case FILE_TYPE_COMPRESSED:
|
string_is_equal(entry->value, "...") ||
|
||||||
case FILE_TYPE_MORE:
|
string_is_equal(entry->value, "(COMP)") ||
|
||||||
case FILE_TYPE_CORE:
|
string_is_equal(entry->value, "(CORE)") ||
|
||||||
case FILE_TYPE_DIRECT_LOAD:
|
string_is_equal(entry->value, "(MOVIE)") ||
|
||||||
case FILE_TYPE_RDB:
|
string_is_equal(entry->value, "(MUSIC)") ||
|
||||||
case FILE_TYPE_CURSOR:
|
string_is_equal(entry->value, "(DIR)") ||
|
||||||
case FILE_TYPE_PLAIN:
|
string_is_equal(entry->value, "(RDB)") ||
|
||||||
case FILE_TYPE_DIRECTORY:
|
string_is_equal(entry->value, "(CURSOR)")||
|
||||||
case FILE_TYPE_MUSIC:
|
string_is_equal(entry->value, "(CFILE)") ||
|
||||||
case FILE_TYPE_IMAGE:
|
string_is_equal(entry->value, "(FILE)") ||
|
||||||
case FILE_TYPE_MOVIE:
|
string_is_equal(entry->value, "(IMAGE)")
|
||||||
break;
|
)
|
||||||
default:
|
{
|
||||||
do_draw_text = true;
|
}
|
||||||
break;
|
else
|
||||||
|
do_draw_text = true;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
do_draw_text = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (string_is_empty(entry->value))
|
if (string_is_empty(entry->value))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user