mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-04-23 21:14:49 +00:00
memset -> memcpy
This commit is contained in:
parent
ae885e6531
commit
ddf0fc114c
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ void Utils::CreateBlankProdinfoIfNeeded() {
|
|||
|
||||
u8 data[data_size];
|
||||
|
||||
memset(&data, p ? g_cal0_backup[data_offset] : g_cal0_storage_backup[data_offset], data_size);
|
||||
memcpy(&data, p ? g_cal0_backup[data_offset] : g_cal0_storage_backup[data_offset], data_size);
|
||||
|
||||
u8 hash[0x20];
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue