Merge pull request #11349 from Nargash/CheevosPass

extend cheevos password length to 255 characters
This commit is contained in:
Autechre 2020-09-19 18:09:52 +02:00 committed by GitHub
commit 9eacbcd613
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -335,7 +335,7 @@ typedef struct settings
char location_driver[32]; char location_driver[32];
char menu_driver[32]; char menu_driver[32];
char cheevos_username[32]; char cheevos_username[32];
char cheevos_password[32]; char cheevos_password[256];
char cheevos_token[32]; char cheevos_token[32];
char video_context_driver[32]; char video_context_driver[32];
char audio_driver[32]; char audio_driver[32];

View File

@ -167,7 +167,7 @@ int rc_url_get_badge_image(char* buffer, size_t size, const char* badge_name) {
int rc_url_login_with_password(char* buffer, size_t size, const char* user_name, const char* password) { int rc_url_login_with_password(char* buffer, size_t size, const char* user_name, const char* password) {
char urle_user_name[64]; char urle_user_name[64];
char urle_password[64]; char urle_password[256];
int written; int written;
if (rc_url_encode(urle_user_name, sizeof(urle_user_name), user_name) != 0) { if (rc_url_encode(urle_user_name, sizeof(urle_user_name), user_name) != 0) {

View File

@ -5252,7 +5252,7 @@ MSG_HASH(
) )
MSG_HASH( MSG_HASH(
MENU_ENUM_SUBLABEL_CHEEVOS_PASSWORD, MENU_ENUM_SUBLABEL_CHEEVOS_PASSWORD,
"Input the password of your RetroAchievements account." "Input the password of your RetroAchievements account. Max length: 255 characters."
) )
/* Settings > User > Accounts > YouTube */ /* Settings > User > Accounts > YouTube */