mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(PSP) Dehardcode pitch parameter to sceGuCopyImage
This commit is contained in:
parent
146b8442e6
commit
3b515e9451
@ -136,7 +136,7 @@ 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);
|
||||
sceGuCopyImage(psp->rgb32 ?GU_PSM_8888:GU_PSM_5650,0,0,width,height,pitch / (psp->rgb32 ? 4 : 2),frame,0,0,512,(void*)0x44088000);
|
||||
sceGuFinish();
|
||||
sceDisplayWaitVblankStart();
|
||||
void *frame_ptr = &frame;
|
||||
|
Loading…
x
Reference in New Issue
Block a user