This was also just moved (un nested)
I'll have to look at bitfield
On May 22, 2014 5:16 AM, "Tony Wasserka" <notifications@github.com> wrote:

> In Source/Core/Core/HW/GCMemcard.h:
>
> > +		calc_checksumsBE((u16*)this, 0xFE, &Checksum, &Checksum_Inv);
> > +	}
> > +};
> > +
> > +struct DEntry
> > +{
> > +	static const u8 DENTRY_SIZE = 0x40;
> > +	DEntry() { memset(this, 0xFF, DENTRY_SIZE); }
> > +	std::string GCI_FileName() const
> > +	{
> > +		return std::string((char*)Makercode, 2) + '-' + std::string((char*)Gamecode, 4) + '-' + (char*)Filename + ".gci";
> > +	}
> > +	u8 Gamecode[4];     //0x00       0x04    Gamecode
> > +	u8 Makercode[2];    //0x04      0x02    Makercode
> > +	u8 Unused1;         //0x06      0x01    reserved/unused (always 0xff, has no effect)
> > +	u8 BIFlags;         //0x07      0x01    banner gfx format and icon animation (Image Key)
>
> This sounds like a good candidate for Common/BitField.h.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dolphin-emu/dolphin/pull/243/files#r12946553>
> .
>