mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Change some strings
This commit is contained in:
parent
3334060b03
commit
d6db2fe227
@ -102,9 +102,11 @@ static bool linuxraw_joypad_init_pad(const char *path, struct linuxraw_joypad *p
|
||||
|
||||
if (g_hotplug)
|
||||
{
|
||||
char msg[512] = {0};
|
||||
char msg[512];
|
||||
|
||||
snprintf(msg, sizeof(msg), "Device #%u (%s) connected.",
|
||||
msg[0] = '\0';
|
||||
|
||||
snprintf(msg, sizeof(msg), "Device connected. #%u (%s).",
|
||||
(unsigned)(pad - linuxraw_pads), pad->ident);
|
||||
runloop_msg_queue_push(msg, 0, 60, false);
|
||||
}
|
||||
|
@ -366,7 +366,7 @@ static void udev_check_device(struct udev_device *dev, const char *path, bool ho
|
||||
|
||||
msg[0] = '\0';
|
||||
|
||||
snprintf(msg, sizeof(msg), "Device #%u (%s) connected.", pad, path);
|
||||
snprintf(msg, sizeof(msg), "Device connected: #%u (%s).", pad, path);
|
||||
runloop_msg_queue_push(msg, 0, 60, false);
|
||||
RARCH_LOG("[udev]: %s\n", msg);
|
||||
}
|
||||
|
@ -338,7 +338,7 @@ void input_config_autoconfigure_disconnect(unsigned i, const char *ident)
|
||||
|
||||
msg[0] = '\0';
|
||||
|
||||
snprintf(msg, sizeof(msg), "Device disconnected: #%u (%s).", i, ident);
|
||||
snprintf(msg, sizeof(msg), "Device disconnected from port #%u (%s).", i, ident);
|
||||
runloop_msg_queue_push(msg, 2, 60, false);
|
||||
RARCH_LOG("Autodetect: %s\n", msg);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user