Nintendo Emulation in AS3