Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zero-initialize structures passed to FatFs functions. #11171

Merged
merged 2 commits into from Oct 16, 2022

Conversation

AdmiralCurtiss
Copy link
Contributor

Lack of zero-initialization on the FATFS struct causes #11072 (comment) because it tries to flush a sector it hasn't written to (because the dirty bit happens to initialize nonzero and FatFs doesn't clear it on mount...). Doesn't actually fix the News and Forecast channels though.

@AdmiralCurtiss
Copy link
Contributor Author

cbc96ad is probably a more direct fix but this doesn't hurt.

@AdmiralCurtiss AdmiralCurtiss merged commit 02abc08 into dolphin-emu:master Oct 16, 2022
10 of 11 checks passed
@AdmiralCurtiss AdmiralCurtiss deleted the fatfs-zero-init branch October 16, 2022 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants