(Glide64) Dehardcode some magic numbers