From 92703af5558258da078d876b1d46e916b1065978 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 1 Jan 2020 12:39:09 -0300 Subject: Address PR feedback --- Ryujinx.Graphics.Gpu/State/GpuState.cs | 6 +++--- Ryujinx.Graphics.Gpu/State/GpuVa.cs | 2 +- Ryujinx.Graphics.Gpu/State/MethodOffset.cs | 3 +++ 3 files changed, 7 insertions(+), 4 deletions(-) (limited to 'Ryujinx.Graphics.Gpu/State') diff --git a/Ryujinx.Graphics.Gpu/State/GpuState.cs b/Ryujinx.Graphics.Gpu/State/GpuState.cs index 8f851bca..f673d296 100644 --- a/Ryujinx.Graphics.Gpu/State/GpuState.cs +++ b/Ryujinx.Graphics.Gpu/State/GpuState.cs @@ -187,7 +187,7 @@ namespace Ryujinx.Graphics.Gpu.State /// /// First register offset /// Second register offset - /// Third register offset + /// Third register offset /// True if any register was modified, false otherwise public bool QueryModified(MethodOffset m1, MethodOffset m2, MethodOffset m3) { @@ -207,7 +207,7 @@ namespace Ryujinx.Graphics.Gpu.State /// /// First register offset /// Second register offset - /// Third register offset + /// Third register offset /// Fourth register offset /// True if any register was modified, false otherwise public bool QueryModified(MethodOffset m1, MethodOffset m2, MethodOffset m3, MethodOffset m4) @@ -230,7 +230,7 @@ namespace Ryujinx.Graphics.Gpu.State /// /// First register offset /// Second register offset - /// Third register offset + /// Third register offset /// Fourth register offset /// Fifth register offset /// True if any register was modified, false otherwise diff --git a/Ryujinx.Graphics.Gpu/State/GpuVa.cs b/Ryujinx.Graphics.Gpu/State/GpuVa.cs index d2ae5eb9..76a2fddf 100644 --- a/Ryujinx.Graphics.Gpu/State/GpuVa.cs +++ b/Ryujinx.Graphics.Gpu/State/GpuVa.cs @@ -11,7 +11,7 @@ namespace Ryujinx.Graphics.Gpu.State /// /// Packs the split address into a 64-bits address value. /// - /// + /// The 64-bits address value public ulong Pack() { return Low | ((ulong)High << 32); diff --git a/Ryujinx.Graphics.Gpu/State/MethodOffset.cs b/Ryujinx.Graphics.Gpu/State/MethodOffset.cs index ddc17d15..904cf8ff 100644 --- a/Ryujinx.Graphics.Gpu/State/MethodOffset.cs +++ b/Ryujinx.Graphics.Gpu/State/MethodOffset.cs @@ -3,6 +3,9 @@ namespace Ryujinx.Graphics.Gpu.State /// /// GPU method offset. /// + /// + /// This is indexed in 32 bits word. + /// enum MethodOffset { I2mParams = 0x60, -- cgit v1.2.3