Forked at 2014/04/28 from pcsxr.codeplex.com as unable to submit patch to codeplex.