mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Display SHA-1 over two lines (like SHA-256)
This commit is contained in:
parent
e042886db4
commit
c966acc851
@ -864,7 +864,7 @@ u32 ShaCalculator(const char* path, bool sha1) {
|
||||
bool write_sha = (!have_sha || !match_sha) && (drvtype & DRV_SDCARD); // writing only on SD
|
||||
char hash_str[32+1+32+1];
|
||||
if (sha1)
|
||||
snprintf(hash_str, 40+1, "%016llX%016llX%08lX", getbe64(hash + 0), getbe64(hash + 8),
|
||||
snprintf(hash_str, 32+1+8+1, "%016llX%016llX\n%08lX", getbe64(hash + 0), getbe64(hash + 8),
|
||||
getbe32(hash + 16));
|
||||
else
|
||||
snprintf(hash_str, 32+1+32+1, "%016llX%016llX\n%016llX%016llX", getbe64(hash + 0), getbe64(hash + 8),
|
||||
|
Loading…
x
Reference in New Issue
Block a user