Initialize empty n64 save file with all 0xFF instead of zero (fixes some game hangs) (#1085)

This commit is contained in:
zakk4223
2026-01-13 09:18:57 -05:00
committed by GitHub
parent cf4ada2fa8
commit bc49794c6e

View File

@@ -412,7 +412,7 @@ struct N64SaveFile {
}
auto sz = this->get_size();
memset(save_file_buf, 0, sz);
memset(save_file_buf, 0xFF, sz);
bool found_old_data = false;
if (sz && FileExists(old_path, 0)) {