ClearRectStruct.cs 696 B

12345678910111213141516171819
  1. namespace Ryujinx.Graphics.Vic.Types
  2. {
  3. struct ClearRectStruct
  4. {
  5. #pragma warning disable CS0649
  6. private long _word0;
  7. private long _word1;
  8. #pragma warning restore CS0649
  9. public int ClearRect0Left => _word0.Extract(0, 14);
  10. public int ClearRect0Right => _word0.Extract(16, 14);
  11. public int ClearRect0Top => _word0.Extract(32, 14);
  12. public int ClearRect0Bottom => _word0.Extract(48, 14);
  13. public int ClearRect1Left => _word1.Extract(64, 14);
  14. public int ClearRect1Right => _word1.Extract(80, 14);
  15. public int ClearRect1Top => _word1.Extract(96, 14);
  16. public int ClearRect1Bottom => _word1.Extract(112, 14);
  17. }
  18. }