Revert "rosalina draw.c: remove wait for cmd, gpu processing engine is prone to crashes"
This reverts commit 7dc2b7123b
.
This commit is contained in:
parent
166bdbeb7d
commit
0f05dd5c0a
@ -131,7 +131,7 @@ void Draw_ClearFramebuffer(void)
|
|||||||
|
|
||||||
void Draw_SetupFramebuffer(void)
|
void Draw_SetupFramebuffer(void)
|
||||||
{
|
{
|
||||||
while((GPU_PSC0_CNT | GPU_PSC1_CNT | GPU_TRANSFER_CNT) & 1);
|
while((GPU_PSC0_CNT | GPU_PSC1_CNT | GPU_TRANSFER_CNT | GPU_CMDLIST_CNT) & 1);
|
||||||
|
|
||||||
svcFlushEntireDataCache();
|
svcFlushEntireDataCache();
|
||||||
memcpy(framebufferCache, FB_BOTTOM_VRAM_ADDR, FB_BOTTOM_SIZE);
|
memcpy(framebufferCache, FB_BOTTOM_VRAM_ADDR, FB_BOTTOM_SIZE);
|
||||||
|
Reference in New Issue
Block a user