aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs')
-rw-r--r--src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs b/src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs
index 74a9aa04..a2e5b116 100644
--- a/src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs
+++ b/src/Ryujinx.Graphics.Gpu/Engine/DeviceStateWithShadow.cs
@@ -33,6 +33,11 @@ namespace Ryujinx.Graphics.Gpu.Engine
public ref TState State => ref _state.State;
/// <summary>
+ /// Current shadow state.
+ /// </summary>
+ public ref TState ShadowState => ref _shadowState.State;
+
+ /// <summary>
/// Creates a new instance of the device state, with shadow state.
/// </summary>
/// <param name="callbacks">Optional that will be called if a register specified by name is read or written</param>