mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-20 18:00:57 +00:00
(PSP) Gives video output now
This commit is contained in:
parent
b1a3b94594
commit
358df3dd99
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user