Merge pull request #8880 from AdmiralCurtiss/gcmemcard-sketchy-code-cleanup Sketchy code cleanup in GCMemcard and GCMemcardDirectory.