mirror of
https://github.com/impeeza/Lockpick_RCMDecScots.git
synced 2025-10-05 15:42:49 +02:00
Update keys.c
The text_buffer_size is increased from 16K to 32K, was the culprit of the crash or freeze on Erista consoles. Thanks to @THZoria @Shadow256 @Muxi @UrHereNow and the guys on GBATemp for all the testing and work finding this little bugger
This commit is contained in:
@@ -572,7 +572,7 @@ static void _save_keys_to_sd(key_storage_t *keys, titlekey_buffer_t *titlekey_bu
|
||||
return;
|
||||
}
|
||||
|
||||
u32 text_buffer_size = MAX(_titlekey_count * sizeof(titlekey_text_buffer_t) + 1, SZ_16K);
|
||||
u32 text_buffer_size = MAX(_titlekey_count * sizeof(titlekey_text_buffer_t) + 1, SZ_32K);
|
||||
char *text_buffer = (char *)calloc(1, text_buffer_size);
|
||||
|
||||
SAVE_KEY(aes_kek_generation_source);
|
||||
|
Reference in New Issue
Block a user