diff options
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Engine/MethodReport.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Engine/MethodReport.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Gpu/Engine/MethodReport.cs b/Ryujinx.Graphics.Gpu/Engine/MethodReport.cs index fd0a31a1..dd022eb2 100644 --- a/Ryujinx.Graphics.Gpu/Engine/MethodReport.cs +++ b/Ryujinx.Graphics.Gpu/Engine/MethodReport.cs @@ -25,7 +25,7 @@ namespace Ryujinx.Graphics.Gpu.Engine private void ReportSemaphore() { - ReportState state = _context.State.GetReportState(); + var state = _context.State.Get<ReportState>(MethodOffset.ReportState); _context.MemoryAccessor.Write(state.Address.Pack(), state.Payload); @@ -78,7 +78,7 @@ namespace Ryujinx.Graphics.Gpu.Engine Span<byte> data = MemoryMarshal.Cast<CounterData, byte>(counterDataSpan); - ReportState state = _context.State.GetReportState(); + var state = _context.State.Get<ReportState>(MethodOffset.ReportState); _context.MemoryAccessor.Write(state.Address.Pack(), data); } |
