mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
Fix: don't write .SHA files to drives other than the SD card
This commit is contained in:
parent
6e7a55f422
commit
4da34d3ce4
@ -675,7 +675,7 @@ u32 GodMode() {
|
||||
(have_sha) ? ((memcmp(sha256, sha256_file, 32) == 0) ? "passed!" : "failed!") : "",
|
||||
(memcmp(sha256, sha256_prev, 32) == 0) ? "\n \nIdentical with previous file:\n" : "",
|
||||
(memcmp(sha256, sha256_prev, 32) == 0) ? pathstr_prev : "",
|
||||
(write_sha) ? "\n \nWrite .SHA file?" : "") && !have_sha) {
|
||||
(write_sha) ? "\n \nWrite .SHA file?" : "") && !have_sha && write_sha) {
|
||||
FileSetData(sha_path, sha256, 32, 0, true);
|
||||
GetDirContents(current_dir, current_path);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user