Updated for ApplePS2Elan 3.8+