forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

bug in sceGuColorFunc.c

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
maddogjt1



Joined: 27 Jun 2005
Posts: 13

PostPosted: Wed Jul 27, 2005 10:19 am    Post subject: bug in sceGuColorFunc.c Reply with quote

It won't build.

function in svn (v783) is

Code:

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:

void sceGuColorFunc(int func, unsigned int color, unsigned int mask)
{
        sendCommandi(216,func & 0x03);
        sendCommandi(217,color & 0xffffff);
        sendCommandi(218,mask);
}
Back to top
View user's profile Send private message
chp



Joined: 23 Jun 2004
Posts: 313

PostPosted: Wed Jul 27, 2005 2:23 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group