mirror of
https://github.com/pspdev/pspsdk.git
synced 2026-01-03 06:10:35 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user