From 0f05dd5c0a7908b221bc5aa78beb7417c1aa25e3 Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Sat, 2 May 2020 23:36:27 +0100 Subject: [PATCH] Revert "rosalina draw.c: remove wait for cmd, gpu processing engine is prone to crashes" This reverts commit 7dc2b7123b3e40ea773b5df44a9ff731fb866e2d. --- sysmodules/rosalina/source/draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysmodules/rosalina/source/draw.c b/sysmodules/rosalina/source/draw.c index 8afb830..91bd9e9 100644 --- a/sysmodules/rosalina/source/draw.c +++ b/sysmodules/rosalina/source/draw.c @@ -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);