From 7dc2b7123b3e40ea773b5df44a9ff731fb866e2d Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Sat, 2 May 2020 22:38:03 +0100 Subject: [PATCH] rosalina draw.c: remove wait for cmd, gpu processing engine is prone to crashes --- 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 91bd9e9..8afb830 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 | GPU_CMDLIST_CNT) & 1); + while((GPU_PSC0_CNT | GPU_PSC1_CNT | GPU_TRANSFER_CNT) & 1); svcFlushEntireDataCache(); memcpy(framebufferCache, FB_BOTTOM_VRAM_ADDR, FB_BOTTOM_SIZE);