aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/ShadowRamControl.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Gpu/ShadowRamControl.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/ShadowRamControl.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Gpu/ShadowRamControl.cs b/Ryujinx.Graphics.Gpu/ShadowRamControl.cs
new file mode 100644
index 00000000..10dd39bc
--- /dev/null
+++ b/Ryujinx.Graphics.Gpu/ShadowRamControl.cs
@@ -0,0 +1,28 @@
+namespace Ryujinx.Graphics.Gpu
+{
+ /// <summary>
+ /// Shadow RAM Control setting.
+ /// </summary>
+ enum ShadowRamControl
+ {
+ /// <summary>
+ /// Track data writes and store them on shadow RAM.
+ /// </summary>
+ Track = 0,
+
+ /// <summary>
+ /// Track data writes and store them on shadow RAM, with filtering.
+ /// </summary>
+ TrackWithFilter = 1,
+
+ /// <summary>
+ /// Writes data directly without storing on shadow RAM.
+ /// </summary>
+ Passthrough = 2,
+
+ /// <summary>
+ /// Ignore data being written and replace with data on shadow RAM instead.
+ /// </summary>
+ Replay = 3
+ }
+}