Files
pspsdk/src/gu/sceGuMaterial.c
Carsten Teibes 7c6e46b487 Remove outdated svn ids, change url, fix permissions
Convert to unix line endings
2020-05-08 00:50:41 +02:00

25 lines
538 B
C

/*
* PSP Software Development Kit - https://github.com/pspdev
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* Copyright (c) 2005 Jesper Svennevid
*/
#include "guInternal.h"
void sceGuMaterial(int mode, int color)
{
if (mode & 0x01)
{
sendCommandi(85, color & 0xffffff);
sendCommandi(88, color >> 24);
}
if (mode & 0x02)
sendCommandi(86, color & 0xffffff);
if (mode & 0x04)
sendCommandi(87, color & 0xffffff);
}