(Glide64) Cleanups/dehardcoding magic numbers