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

spi_sdcard.cpp: implement SEND_CSD (SD_TYPE_V2) #12078

Merged
merged 2 commits into from Feb 29, 2024

Conversation

holub
Copy link
Contributor

@holub holub commented Feb 28, 2024

No description provided.

m_data[1] = 0xff;
m_data[2] = 0xfe;

//if (m_type == SD_TYPE_V2) // CSD Version 1.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this check isn't necessary, remove it. (If it is, comment it back in). Same for the else block below.

Copy link
Contributor Author

@holub holub Feb 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's necessary for 2.0. I just don't have a case to test it but clearly it must be revisited and implemented at some point

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, that's fair. I'm a big proponent of not implementing things you don't have a test case for.

@rb6502 rb6502 merged commit 1e0dfbe into mamedev:master Feb 29, 2024
5 checks passed
stonedDiscord pushed a commit to stonedDiscord/mame that referenced this pull request Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants