| View previous topic :: View next topic |
| Author |
Message |
drpollo
Joined: 30 Aug 2005 Posts: 8
|
Posted: Fri Sep 09, 2005 1:39 am Post subject: pspDebugScreenGetTextColor() |
|
|
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 |
|
| Back to top |
|
 |
drpollo
Joined: 30 Aug 2005 Posts: 8
|
Posted: Fri Sep 09, 2005 2:31 am Post subject: |
|
|
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;
} |
|
| Back to top |
|
 |
drpollo
Joined: 30 Aug 2005 Posts: 8
|
Posted: Fri Sep 09, 2005 8:15 am Post subject: |
|
|
| 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? |
|
| Back to top |
|
 |
|