Rewrite raw memcard threading code. Intended to fix issue 7484.

GitHub is right to use 8 char tabs, so is shuffle2 with his 4 char tabs.
This should be either indented with 1 extra tab or aligned with spaces.


On Sun, Aug 10, 2014 at 11:00 PM, archshift <notifications@github.com>
wrote:

> In Source/Core/Core/HW/GCMemcardDirectory.h:
>
> > @@ -13,15 +13,17 @@ void MigrateFromMemcardFile(std::string strDirectoryName, int card_index);
> >  class GCMemcardDirectory : public MemoryCardBase, NonCopyable
> >  {
> >  public:
> > -	GCMemcardDirectory(std::string directory, int slot = 0, u16 sizeMb = MemCard2043Mb, bool ascii = true,
> > -		DiscIO::IVolume::ECountry  card_region = DiscIO::IVolume::COUNTRY_EUROPE, int gameId = 0);
> > -	~GCMemcardDirectory() { Flush(true); }
> > -	void Flush(bool exiting = false) override;
> > +	GCMemcardDirectory(std::string directory, int slot = 0,
> > +					   u16 sizeMb = MemCard2043Mb, bool ascii = true,
>
> I think this is because of github's tab size. Still shouldn't be this way,
> IIRC it should only be tabbed in once?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dolphin-emu/dolphin/pull/778/files#r16038330>.
>



-- 
Pierre "delroth" Bourdon <delroth@gmail.com>
Software Engineer @ Zürich, Switzerland
http://code.delroth.net/