Clean ups around sceGu

- Fix sceGuBreak
- Fix sceGuContinue
- Fix sceGuDrawArrayN
- Fix sceGuMorphWeight
- Remove unnecessary 0xffffff as it is done by sendCommandi
- Improve the name of some parameters
- Create and use GU_MAX_STATUS
- Remove magic numbers in `sceGuMaterial`
- Remove magic numbers in `sceGuMorphWeight`
- Remove magic numbers in `sceGuSetMatrix`
- Remove magic numbers in `sceGuSignal`
This commit is contained in:
Francisco Javier Trujillo Mata
2025-05-04 20:03:33 +02:00
parent 3af3247136
commit 36a4b80f91
41 changed files with 151 additions and 99 deletions

View File

@@ -13,7 +13,7 @@ void sceGuSignal(int signal, int argument)
sendCommandi(SIGNAL, ((signal & 0xff) << 16) | (argument & 0xffff));
sendCommandi(END, 0);
if (signal == 3)
if (GU_SIGNAL_PAUSE == 3)
{
sendCommandi(FINISH, 0);
sendCommandi(END, 0);