mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Autoconfig message should always appear on top of FPS display
This commit is contained in:
parent
adace9f27b
commit
e69855880d
@ -165,7 +165,7 @@ static void input_autoconfigure_joypad_add(config_file_t *conf,
|
|||||||
string_is_empty(display_name) ? params->name : display_name);
|
string_is_empty(display_name) ? params->name : display_name);
|
||||||
|
|
||||||
if(!remote_is_bound)
|
if(!remote_is_bound)
|
||||||
runloop_msg_queue_push(msg, 1, 60, false);
|
runloop_msg_queue_push(msg, 2, 60, true);
|
||||||
remote_is_bound = true;
|
remote_is_bound = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -175,7 +175,7 @@ static void input_autoconfigure_joypad_add(config_file_t *conf,
|
|||||||
params->idx);
|
params->idx);
|
||||||
|
|
||||||
if (!block_osd_spam)
|
if (!block_osd_spam)
|
||||||
runloop_msg_queue_push(msg, 1, 60, false);
|
runloop_msg_queue_push(msg, 2, 60, true);
|
||||||
}
|
}
|
||||||
input_reindex_devices();
|
input_reindex_devices();
|
||||||
#if 0
|
#if 0
|
||||||
@ -337,7 +337,7 @@ bool input_config_autoconfigure_joypad(autoconfig_params_t *params)
|
|||||||
params->name, params->vid, params->pid);
|
params->name, params->vid, params->pid);
|
||||||
snprintf(msg, sizeof(msg), "%s (%ld/%ld) not configured",
|
snprintf(msg, sizeof(msg), "%s (%ld/%ld) not configured",
|
||||||
params->name, (long)params->vid, (long)params->pid);
|
params->name, (long)params->vid, (long)params->pid);
|
||||||
runloop_msg_queue_push(msg, 1, 60, false);
|
runloop_msg_queue_push(msg, 2, 60, true);
|
||||||
|
|
||||||
error:
|
error:
|
||||||
return false;
|
return false;
|
||||||
@ -361,6 +361,6 @@ void input_config_autoconfigure_disconnect(unsigned i, const char *ident)
|
|||||||
char msg[PATH_MAX_LENGTH];
|
char msg[PATH_MAX_LENGTH];
|
||||||
|
|
||||||
snprintf(msg, sizeof(msg), "Device #%u (%s) disconnected.", i, ident);
|
snprintf(msg, sizeof(msg), "Device #%u (%s) disconnected.", i, ident);
|
||||||
runloop_msg_queue_push(msg, 1, 60, false);
|
runloop_msg_queue_push(msg, 2, 60, true);
|
||||||
RARCH_LOG("Autodetect: %s\n", msg);
|
RARCH_LOG("Autodetect: %s\n", msg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user