glide64 fixed up for portability based on the mupen64plus port