Apt fixes

Some fixes to the 3DS APT:U service HLE emulation. Tested on various apps. CF 3dmoo. Not much else to say here...
Why can't this just be a class member?