mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-03 13:51:02 +00:00
Make some messages no longer get stuck
This commit is contained in:
parent
7f9168ff18
commit
adace9f27b
@ -159,13 +159,13 @@ static void input_autoconfigure_joypad_add(config_file_t *conf,
|
||||
input_autoconfigure_joypad_conf(conf,
|
||||
settings->input.autoconf_binds[params->idx]);
|
||||
|
||||
if (string_is_equal(device_type,"remote"))
|
||||
if (string_is_equal(device_type, "remote"))
|
||||
{
|
||||
snprintf(msg, sizeof(msg), "%s configured",
|
||||
string_is_empty(display_name) ? params->name : display_name);
|
||||
|
||||
if(!remote_is_bound)
|
||||
runloop_msg_queue_push(msg, 0, 60, false);
|
||||
runloop_msg_queue_push(msg, 1, 60, false);
|
||||
remote_is_bound = true;
|
||||
}
|
||||
else
|
||||
@ -175,7 +175,7 @@ static void input_autoconfigure_joypad_add(config_file_t *conf,
|
||||
params->idx);
|
||||
|
||||
if (!block_osd_spam)
|
||||
runloop_msg_queue_push(msg, 0, 60, false);
|
||||
runloop_msg_queue_push(msg, 1, 60, false);
|
||||
}
|
||||
input_reindex_devices();
|
||||
#if 0
|
||||
@ -337,7 +337,7 @@ bool input_config_autoconfigure_joypad(autoconfig_params_t *params)
|
||||
params->name, params->vid, params->pid);
|
||||
snprintf(msg, sizeof(msg), "%s (%ld/%ld) not configured",
|
||||
params->name, (long)params->vid, (long)params->pid);
|
||||
runloop_msg_queue_push(msg, 0, 60, false);
|
||||
runloop_msg_queue_push(msg, 1, 60, false);
|
||||
|
||||
error:
|
||||
return false;
|
||||
@ -361,6 +361,6 @@ void input_config_autoconfigure_disconnect(unsigned i, const char *ident)
|
||||
char msg[PATH_MAX_LENGTH];
|
||||
|
||||
snprintf(msg, sizeof(msg), "Device #%u (%s) disconnected.", i, ident);
|
||||
runloop_msg_queue_push(msg, 0, 60, false);
|
||||
runloop_msg_queue_push(msg, 1, 60, false);
|
||||
RARCH_LOG("Autodetect: %s\n", msg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user