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

There is no such thing as "4-space tabs". The whole point of tabs is that
they're variable width.


On Sun, Aug 10, 2014 at 11:11 PM, shuffle2 <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,
>
> WTF, dolphin was 4-space tabs FOREVER. I will just revert this line. That
> is fucking retarded.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/dolphin-emu/dolphin/pull/778/files#r16038527>.
>



-- 
Pierre "delroth" Bourdon <delroth@gmail.com>
Software Engineer @ Zürich, Switzerland
http://code.delroth.net/