diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2020-03-12 22:30:26 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-13 12:30:26 +1100 |
| commit | ff2bac9c9042ef23437b19a32f3f2b6869cc1274 (patch) | |
| tree | f27bb1565759c0f818a56e63be3306d46c36d3ea /Ryujinx.Graphics.Gpu/ShadowRamControl.cs | |
| parent | d904706fc0a14d17072f7235d73c80c4f01b1041 (diff) | |
Implement MME shadow RAM (#987)
Diffstat (limited to 'Ryujinx.Graphics.Gpu/ShadowRamControl.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/ShadowRamControl.cs | 28 |
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 + } +} |
