pspDebugScreenGetTextColor()

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

Moderators: cheriff, TyRaNiD

Post Reply
drpollo
Posts: 8
Joined: Tue Aug 30, 2005 3:36 am

pspDebugScreenGetTextColor()

Post by drpollo »

Hi all,

I've noticed that in pspdebug.h there is a function for setting the text and background color, but the opposite ones are missing.

Is there a way to get the text and background colors of the debug screen? or will I have to wait for a future pspsdk release?

Thanks,
Alberto
drpollo
Posts: 8
Joined: Tue Aug 30, 2005 3:36 am

Post by drpollo »

Well, it seems that it wasn't so difficult, I guess that inserting in scr_printf.c these two functions and its prototypes in pspdebug.h will be enough.

u32 pspDebugScreenGetBackColor()
{
return bg_col;
}

u32 pspDebugScreenGetTextColor()
{
return fg_col;
}
drpollo
Posts: 8
Joined: Tue Aug 30, 2005 3:36 am

Post by drpollo »

Well, it works, now I'm thinking that if I want to use that functions in my program (I do) and I want others to be able to compile it, they should be included in pspsdk, is this possible?
Post Reply