aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Host1x/Host1xClass.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2024-01-22 17:14:46 -0300
committerGitHub <noreply@github.com>2024-01-22 17:14:46 -0300
commitf241f88558b3fe90d76fc21123bd06b9e4c3d2da (patch)
tree7135051e6a5dc2227d87724777cb63f76453db58 /src/Ryujinx.Graphics.Host1x/Host1xClass.cs
parent90455a05e6d7fe4305c997f20f76d2411197a182 (diff)
Add a separate device memory manager (#6153)1.1.1120
* Add a separate device memory manager * Still need this * Device writes are always tracked * Device writes are always tracked (2) * Rename more instances of gmm to mm
Diffstat (limited to 'src/Ryujinx.Graphics.Host1x/Host1xClass.cs')
-rw-r--r--src/Ryujinx.Graphics.Host1x/Host1xClass.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Ryujinx.Graphics.Host1x/Host1xClass.cs b/src/Ryujinx.Graphics.Host1x/Host1xClass.cs
index 4327b93c..3ffc87ba 100644
--- a/src/Ryujinx.Graphics.Host1x/Host1xClass.cs
+++ b/src/Ryujinx.Graphics.Host1x/Host1xClass.cs
@@ -1,5 +1,4 @@
using Ryujinx.Graphics.Device;
-using Ryujinx.Graphics.Gpu.Synchronization;
using System.Collections.Generic;
using System.Threading;
@@ -7,10 +6,10 @@ namespace Ryujinx.Graphics.Host1x
{
public class Host1xClass : IDeviceState
{
- private readonly SynchronizationManager _syncMgr;
+ private readonly ISynchronizationManager _syncMgr;
private readonly DeviceState<Host1xClassRegisters> _state;
- public Host1xClass(SynchronizationManager syncMgr)
+ public Host1xClass(ISynchronizationManager syncMgr)
{
_syncMgr = syncMgr;
_state = new DeviceState<Host1xClassRegisters>(new Dictionary<string, RwCallback>