This commit is contained in:
twinaphex 2018-09-23 12:55:20 +02:00
parent 3c02608218
commit 5b6b6b6076

View File

@ -1984,28 +1984,22 @@ static void get_string_representation_bind_device(void * data, char *s,
/*if idx is non-zero, it's part of a set*/
if ( idx > 0)
{
snprintf(s, len,
"%s (#%u)",
device_name,
idx);
}
else
{
snprintf(s, len,
"%s",
device_name);
}
}
else
{
snprintf(s, len,
"%s (%s #%u)",
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE),
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_PORT),
map);
}
}
else
strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_DISABLED), len);
}
@ -2324,10 +2318,9 @@ void general_write_handler(rarch_setting_t *setting)
case MENU_ENUM_LABEL_REWIND_BUFFER_SIZE_STEP:
{
rarch_setting_t *buffer_size_setting = menu_setting_find("rewind_buffer_size");
if ( buffer_size_setting ) {
if (buffer_size_setting)
buffer_size_setting->step = (*setting->value.target.unsigned_integer)*1024*1024 ;
}
}
break;
case MENU_ENUM_LABEL_CHEAT_MEMORY_SEARCH_SIZE:
{