mirror of
https://github.com/pspdev/pspsdk.git
synced 2026-01-03 14:12:21 +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:
@@ -10,7 +10,7 @@
|
||||
|
||||
void sceGuClutLoad(int num_blocks, const void *cbp)
|
||||
{
|
||||
sendCommandi(CLUT_BUF_PTR, ((unsigned int)cbp) & 0xffffff);
|
||||
sendCommandi(CLUT_BUF_PTR, ((unsigned int)cbp));
|
||||
sendCommandi(CLUT_BUF_WIDTH, (((unsigned int)cbp) >> 8) & 0xf0000);
|
||||
sendCommandi(CLUT_LOAD, num_blocks);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user