dolphin-emu/dolphin — pull request #330 by LPFaint99 (2014-05-01 19:25:47+00:00)
Title: GCMemcard: fix edge case of adding to a fragmented memcard.

allocates last block of memcard, and then wraps around, instead of attempting to write past the end of the card.

I hit this bug recently and realized that I had forgot to address it