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

Sketchy code cleanup in GCMemcard and GCMemcardDirectory. #8880

Merged

Conversation

AdmiralCurtiss
Copy link
Contributor

@AdmiralCurtiss AdmiralCurtiss commented Jun 16, 2020

Just some cleanup of undefined behavior and unclear code. Should not change program behavior.

(Yes, ClearBlock() really dir call a member function on the wrong class. I'm amazed this worked at all.)

@AdmiralCurtiss
Copy link
Contributor Author

AdmiralCurtiss commented Jun 21, 2020

Anything else? I cleaned up the static asserts.

Copy link
Contributor

@iwubcode iwubcode left a comment

Choose a reason for hiding this comment

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

Code wise, looks good. Untested

@jordan-woyak
Copy link
Member

Can we get a rebase, please?

@AdmiralCurtiss
Copy link
Contributor Author

Oh, did this break? Sure, gimme a sec...

@AdmiralCurtiss
Copy link
Contributor Author

Rebased.

Copy link
Member

@jordan-woyak jordan-woyak left a comment

Choose a reason for hiding this comment

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

Code looks good. Untested.

Copy link
Member

@leoetlino leoetlino left a comment

Choose a reason for hiding this comment

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

Looks fine to me too.

@leoetlino leoetlino merged commit e553197 into dolphin-emu:master Oct 21, 2020
10 checks passed
@AdmiralCurtiss AdmiralCurtiss deleted the gcmemcard-sketchy-code-cleanup branch October 21, 2020 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants