Revert "rosalina draw.c: remove wait for cmd, gpu processing engine is prone to crashes"

This reverts commit 7dc2b7123b.
This commit is contained in:
TuxSH 2020-05-02 23:36:27 +01:00
parent 166bdbeb7d
commit 0f05dd5c0a

View File

@ -131,7 +131,7 @@ void Draw_ClearFramebuffer(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();
memcpy(framebufferCache, FB_BOTTOM_VRAM_ADDR, FB_BOTTOM_SIZE);