bug in sceGuColorFunc.c

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
maddogjt1
Posts: 13
Joined: Mon Jun 27, 2005 3:06 pm

bug in sceGuColorFunc.c

Post by maddogjt1 »

It won't build.

function in svn (v783) is

Code: Select all

void sceGuColorFunc(int func, unsigned int color, unsigned int mask)
{
        sendCommandi(216,a0 & 0x03);
        sendCommandi(217,color & 0xffffff);
        sendCommandi(218,a2);
}
but a0 and a2 are not defined. I believe this function is suppsed to be

Code: Select all

void sceGuColorFunc(int func, unsigned int color, unsigned int mask)
{
        sendCommandi(216,func & 0x03);
        sendCommandi(217,color & 0xffffff);
        sendCommandi(218,mask);
}
chp
Posts: 313
Joined: Wed Jun 23, 2004 7:16 am

Post by chp »

You're right. This has however already been fixed by ector (thx). I was a bit tired last night and missed to test-compile my change before committing.

Shit happens. :D
GE Dominator
Post Reply