and when i don't init the gu using libpspvram but try to allocate an image then the image doesn't show but the screen flickers so does anyone have any idea why the gu is messed up like this when usign pspvram
here is how i had inited the gu with libpspvram and i'm not sure i'm explaining this correctly
the commented stuff is where i was using pspvram and the uncommented is where i manually init the gu
Code: Select all
sceGuDispBuffer(SCREEN_WIDTH, SCREEN_HEIGHT, (void*)0, PSP_LINE_SIZE); //Point out the display buffer
// sceGuDispBuffer(SCREEN_WIDTH, SCREEN_HEIGHT, (void *)valloc(FRAMEBUFFER_SIZE), PSP_LINE_SIZE);
sceGuDrawBuffer(GU_PSM_8888, (void*)FRAMEBUFFER_SIZE, PSP_LINE_SIZE); //Point out the drawing buffer
// sceGuDrawBuffer(GU_PSM_8888, (void *)valloc(FRAMEBUFFER_SIZE), PSP_LINE_SIZE);
sceGuDepthBuffer((void*) (FRAMEBUFFER_SIZE*2), PSP_LINE_SIZE); //Point out the depth buffer
// sceGuDepthBuffer((void*) valloc(FRAMEBUFFER_SIZE), PSP_LINE_SIZE);