diff --git a/Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs b/Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs index 856d52a9a6..8e4ac5e229 100644 --- a/Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs +++ b/Ryujinx.Graphics.Gpu/Engine/Dma/DmaClass.cs @@ -1,5 +1,4 @@ using Ryujinx.Common; -using Ryujinx.Common.Logging; using Ryujinx.Graphics.Device; using Ryujinx.Graphics.Gpu.Engine.Threed; using Ryujinx.Graphics.Texture; @@ -99,32 +98,11 @@ namespace Ryujinx.Graphics.Gpu.Engine.Dma } } - /// - /// Releases a semaphore for a given LaunchDma method call. - /// - /// The LaunchDma call argument - private void ReleaseSemaphore(int argument) - { - LaunchDmaSemaphoreType type = (LaunchDmaSemaphoreType)((argument >> 3) & 0x3); - if (type != LaunchDmaSemaphoreType.None) - { - ulong address = ((ulong)_state.State.SetSemaphoreA << 32) | _state.State.SetSemaphoreB; - if (type == LaunchDmaSemaphoreType.ReleaseOneWordSemaphore) - { - _channel.MemoryManager.Write(address, _state.State.SetSemaphorePayload); - } - else /* if (type == LaunchDmaSemaphoreType.ReleaseFourWordSemaphore) */ - { - Logger.Warning?.Print(LogClass.Gpu, "DMA semaphore type ReleaseFourWordSemaphore was used, but is not currently implemented."); - } - } - } - /// /// Performs a buffer to buffer, or buffer to texture copy. /// - /// The LaunchDma call argument - private void DmaCopy(int argument) + /// Method call argument + private void LaunchDma(int argument) { var memoryManager = _channel.MemoryManager; @@ -318,15 +296,5 @@ namespace Ryujinx.Graphics.Gpu.Engine.Dma } } } - - /// - /// Performs a buffer to buffer, or buffer to texture copy, then optionally releases a semaphore. - /// - /// Method call argument - private void LaunchDma(int argument) - { - DmaCopy(argument); - ReleaseSemaphore(argument); - } } }