mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
Cleanups
This commit is contained in:
parent
e9d738226a
commit
07dd7c8ccb
@ -37,10 +37,6 @@ static int action_cancel_pop_default(const char *path,
|
||||
|
||||
menu_entries_get_last_stack(NULL, &menu_label, NULL, NULL, NULL);
|
||||
|
||||
#if 0
|
||||
RARCH_LOG("menu_label: %s\n", menu_label);
|
||||
#endif
|
||||
|
||||
if (!string_is_empty(menu_label))
|
||||
{
|
||||
if (
|
||||
|
@ -726,7 +726,7 @@ static void mui_render_label_value(mui_handle_t *mui, mui_node_t *node,
|
||||
bool do_draw_text = false;
|
||||
size_t usable_width = width - (mui->margin * 2);
|
||||
uint32_t sublabel_color = 0x888888ff;
|
||||
enum msg_file_type type = msg_hash_to_file_type(msg_hash_calculate(value));
|
||||
enum msg_file_type hash_type = msg_hash_to_file_type(msg_hash_calculate(value));
|
||||
float scale_factor = menu_display_get_dpi();
|
||||
|
||||
label_str[0] = value_str[0] =
|
||||
@ -794,7 +794,7 @@ static void mui_render_label_value(mui_handle_t *mui, mui_node_t *node,
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (type)
|
||||
switch (hash_type)
|
||||
{
|
||||
case FILE_TYPE_COMPRESSED:
|
||||
case FILE_TYPE_MORE:
|
||||
@ -819,7 +819,7 @@ static void mui_render_label_value(mui_handle_t *mui, mui_node_t *node,
|
||||
texture_switch2 = node->texture_switch2;
|
||||
else
|
||||
{
|
||||
switch (type)
|
||||
switch (hash_type)
|
||||
{
|
||||
case FILE_TYPE_COMPRESSED:
|
||||
texture_switch2 = mui->textures.list[MUI_TEXTURE_ARCHIVE];
|
||||
|
@ -491,10 +491,6 @@ static void rgui_render(void *data, bool is_idle)
|
||||
|
||||
rgui_render_background();
|
||||
|
||||
#if 0
|
||||
RARCH_LOG("Dir is: %s\n", label);
|
||||
#endif
|
||||
|
||||
menu_entries_get_title(title, sizeof(title));
|
||||
|
||||
ticker.s = title_buf;
|
||||
|
@ -167,11 +167,6 @@ void menu_list_flush_stack(menu_list_t *list,
|
||||
|
||||
menu_entries_get_last(menu_list,
|
||||
&path, &label, &type, &entry_idx);
|
||||
|
||||
#if 0
|
||||
RARCH_LOG("path: %s\n", path);
|
||||
RARCH_LOG("label: %s\n", label);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user