Files
pspsdk/src/gu/sceGuSetAllStatus.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

22 lines
442 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 sceGuSetAllStatus(int status)
{
unsigned int i;
for (i = 0; i < 22; ++i)
{
if ((status >> i)&1)
sceGuEnable(i);
else
sceGuDisable(i);
}
}