From d2bb458b51bbcbc097f8f53ac2a3b8b15a723a45 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Sat, 17 Nov 2018 02:01:31 -0200 Subject: Improved GPU command lists decoding (#499) * Better implementation of the DMA pusher, misc fixes * Remove some debug code * Correct RGBX8 format * Add support for linked Texture Sampler Control * Attempt to fix upside down screen issue --- Ryujinx.HLE/Switch.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Ryujinx.HLE/Switch.cs') diff --git a/Ryujinx.HLE/Switch.cs b/Ryujinx.HLE/Switch.cs index fe0be6ce..8de49ca4 100644 --- a/Ryujinx.HLE/Switch.cs +++ b/Ryujinx.HLE/Switch.cs @@ -88,12 +88,12 @@ namespace Ryujinx.HLE public bool WaitFifo() { - return Gpu.Fifo.Event.WaitOne(8); + return Gpu.Pusher.WaitForCommands(); } public void ProcessFrame() { - Gpu.Fifo.DispatchCalls(); + Gpu.Pusher.DispatchCalls(); } internal void Unload() -- cgit v1.2.3