The sample "prx_loader" uses the function psvDebugScreenClear() which is not defined in any header file or library.
Did this function get lost somewhen? Or can it be added to the Vita SDK for general usage?
On the net I found the following code in different projects (mostly in a file called graphics.c):
void psvDebugScreenClear(int bg_color)
{
gX = gY = 0;
int i;
color_t *pixel = (color_t *)getVramDisplayBuffer();
for(i = 0; i < SCREEN_WIDTH * SCREEN_HEIGHT; i++) {
pixel->rgba = bg_color;
pixel++;
}
}
[1] https://github.com/dots-tb/rePatch-reDux0/blob/master/rePatchAIDs/graphics.c
The sample "prx_loader" uses the function
psvDebugScreenClear()which is not defined in any header file or library.Did this function get lost somewhen? Or can it be added to the Vita SDK for general usage?
On the net I found the following code in different projects (mostly in a file called graphics.c):
[1] https://github.com/dots-tb/rePatch-reDux0/blob/master/rePatchAIDs/graphics.c