Implement MME shadow RAM (#987)
This commit is contained in:
parent
d904706fc0
commit
ff2bac9c90
4 changed files with 90 additions and 20 deletions
28
Ryujinx.Graphics.Gpu/ShadowRamControl.cs
Normal file
28
Ryujinx.Graphics.Gpu/ShadowRamControl.cs
Normal file
|
@ -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
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue