mirror of
https://github.com/libretro/RetroArch
synced 2025-02-04 03:40:03 +00:00
(input_config.c) Move variable
This commit is contained in:
parent
1c82287e10
commit
d519ad7017
@ -486,11 +486,13 @@ const char *input_config_get_device_name(unsigned port)
|
||||
|
||||
void input_config_set_device_name(unsigned port, const char *name)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (!string_is_empty(name))
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
strlcpy(settings->input.device_names[port],
|
||||
name,
|
||||
sizeof(settings->input.device_names[port]));
|
||||
}
|
||||
}
|
||||
|
||||
bool input_config_get_bind_idx(unsigned port, unsigned *joy_idx_real)
|
||||
|
Loading…
x
Reference in New Issue
Block a user