From ff2bac9c9042ef23437b19a32f3f2b6869cc1274 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 12 Mar 2020 22:30:26 -0300 Subject: Implement MME shadow RAM (#987) --- Ryujinx.Graphics.Gpu/ShadowRamControl.cs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Ryujinx.Graphics.Gpu/ShadowRamControl.cs (limited to 'Ryujinx.Graphics.Gpu/ShadowRamControl.cs') 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 +{ + /// + /// Shadow RAM Control setting. + /// + enum ShadowRamControl + { + /// + /// Track data writes and store them on shadow RAM. + /// + Track = 0, + + /// + /// Track data writes and store them on shadow RAM, with filtering. + /// + TrackWithFilter = 1, + + /// + /// Writes data directly without storing on shadow RAM. + /// + Passthrough = 2, + + /// + /// Ignore data being written and replace with data on shadow RAM instead. + /// + Replay = 3 + } +} -- cgit v1.2.3