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

Off-by-one in SDHC detection #6194

Merged
merged 1 commit into from
Nov 14, 2017
Merged

Conversation

TBoshoven
Copy link
Contributor

Also update name and description of SDHC constant.

This should fix this issue in which 2GiB SD cards are interpreted as SDHC.

static constexpr u32 SDHC_BYTES = 0x80000000;
// Maximum number of bytes in an SDSC card
// Used to trigger using SDHC instead of SDSC
static constexpr u32 SDSC_BYTES = 0x80000000;

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Also update name and description of SDHC constant.
@delroth delroth merged commit 496c337 into dolphin-emu:master Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants