(PSP) Gives video output now

This commit is contained in:
twinaphex 2014-02-12 19:27:03 +01:00
parent b1a3b94594
commit 358df3dd99

View File

@ -136,16 +136,10 @@ static bool psp_frame(void *data, const void *frame,
sceGuClearColor(GU_COLOR(0.0f,0.0f,0.0f,1.0f));
sceGuClearDepth(0);
sceGuCopyImage(psp->rgb32 ?GU_PSM_8888:GU_PSM_5650,0,0,width,height,pitch/2,frame,0,0,512,(void*)0x44088000);
sceGuFinish();
sceDisplayWaitVblankStart();
void *frame_ptr = &frame;
DisplaySetFrameBuf(frame_ptr, pitch,
psp->rgb32 ? PSP_DISPLAY_PIXEL_FORMAT_8888 : PSP_DISPLAY_PIXEL_FORMAT_565,
PSP_DISPLAY_SETBUF_IMMEDIATE);
return true;
}