mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 06:11:51 +00:00
(3DS) gfx driver: add missing d-cache flush.
This commit is contained in:
parent
e61616fd5d
commit
38579e56ff
@ -540,7 +540,9 @@ static bool ctr_frame(void* data, const void* frame,
|
||||
&& (pitch > 0x40))
|
||||
{
|
||||
/* can copy the buffer directly with the GPU */
|
||||
ctrGuCopyImage(false, frame, pitch / (ctr->rgb32? 4: 2), height, ctr->rgb32 ? CTRGU_RGBA8: CTRGU_RGB565, false,
|
||||
// GSPGPU_FlushDataCache(frame, pitch * height);
|
||||
ctrGuSetCommandList_First(true,frame, pitch * height,0,0,0,0);
|
||||
ctrGuCopyImage(true, frame, pitch / (ctr->rgb32? 4: 2), height, ctr->rgb32 ? CTRGU_RGBA8: CTRGU_RGB565, false,
|
||||
ctr->texture_swizzled, ctr->texture_width, ctr->rgb32 ? CTRGU_RGBA8: CTRGU_RGB565, true);
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user