Merge pull request #113 from alphanu1/alphanu1-patch-100

Added text to replace 0 for CRT superres
This commit is contained in:
alphanu1 2019-02-12 10:54:42 +00:00 committed by GitHub
commit 31ad524556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1198,6 +1198,11 @@ static void setting_get_string_representation_crt_switch_resolution_super(
strlcpy(s, msg_hash_to_str(MSG_NATIVE), len); strlcpy(s, msg_hash_to_str(MSG_NATIVE), len);
else else
snprintf(s, len, "%d", *setting->value.target.unsigned_integer); snprintf(s, len, "%d", *setting->value.target.unsigned_integer);
if (*setting->value.target.unsigned_integer == 1)
strlcpy(s, msg_hash_to_str(MSG_DYNAMIC), len);
else
snprintf(s, len, "%d", *setting->value.target.unsigned_integer);
} }
static int setting_action_left_analog_dpad_mode(rarch_setting_t *setting, bool wraparound) static int setting_action_left_analog_dpad_mode(rarch_setting_t *setting, bool wraparound)