| 12345678910111213141516171819202122232425262728293031 |
- namespace Ryujinx.Graphics.Gpu.Engine
- {
- /// <summary>
- /// MME shadow RAM control mode.
- /// </summary>
- enum SetMmeShadowRamControlMode
- {
- MethodTrack = 0,
- MethodTrackWithFilter = 1,
- MethodPassthrough = 2,
- MethodReplay = 3,
- }
- static class SetMmeShadowRamControlModeExtensions
- {
- public static bool IsTrack(this SetMmeShadowRamControlMode mode)
- {
- return mode == SetMmeShadowRamControlMode.MethodTrack || mode == SetMmeShadowRamControlMode.MethodTrackWithFilter;
- }
- public static bool IsPassthrough(this SetMmeShadowRamControlMode mode)
- {
- return mode == SetMmeShadowRamControlMode.MethodPassthrough;
- }
- public static bool IsReplay(this SetMmeShadowRamControlMode mode)
- {
- return mode == SetMmeShadowRamControlMode.MethodReplay;
- }
- }
- }
|