Sync gte fixes from upstream (#260)
authorretro-wertz <retro-wertz@users.noreply.github.com>
Tue, 26 Mar 2019 16:36:09 +0000 (00:36 +0800)
committerhizzlekizzle <hizzlekizzle@users.noreply.github.com>
Tue, 26 Mar 2019 16:36:09 +0000 (11:36 -0500)
commite2a9a9a58dd4cff8a56f035e3380dd76785f6c45
tree75d5d4ba80bd8b67424996476e1c54c67adbf527
parent3ab21f54ec87dab531fa45721441132be7dc8d74
Sync gte fixes from upstream (#260)

* gte: backport fix for RTPS/RTPT

Fix glitched drawing of road surface in 'Burning Road'..
behavior now matches Mednafen. This also preserves the fix by Shalma
from prior commit f916013 for missing elements in 'Legacy of Kain:
Soul Reaver' (missing green plasma balls in first level).

- backported fix from pcsx4all
https://github.com/dmitrysmagin/pcsx4all/pull/41/commits/a6ff7d29d615bdb26b491f4e1e2a9f4608a8d643
- fixes R4 - Ridge Racer Type 4 lighting issue

* gte: change return to s64 for BOUNDS_

fix https://github.com/notaz/pcsx_rearmed/issues/129
libpcsxcore/gte.c