Fix GTE directly referencing psxRegs
authorPaul Cercueil <paul@crapouillou.net>
Sun, 20 Feb 2022 00:15:43 +0000 (00:15 +0000)
committerPaul Cercueil <paul@crapouillou.net>
Sun, 20 Feb 2022 00:17:24 +0000 (00:17 +0000)
commit641d7badb70e58c4fbab04fa70212e6e7b7cdaaa
tree009648379ce16b7e857222ce908f3980c47245a1
parent7e3ce9afd1ddd5c16f20957cc7a46f6e681bff50
Fix GTE directly referencing psxRegs

It should reference the 'regs' function argument instead.

This makes it possible to use the latest Lightrec code with its new API,
which has internal CP2 registers, without having to copy the registers
back and forth between the internal ones and the psxRegs ones.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
libpcsxcore/gte.c