From 8cba252b238ee6cf6599ad2fc57793e6f76c5e2e Mon Sep 17 00:00:00 2001 From: gdk Date: Sat, 26 Oct 2019 14:50:52 -0300 Subject: Add per-source type memory change tracking, simplified state change tracking, other fixes --- Ryujinx.Graphics.Gpu/Engine/MethodReport.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Ryujinx.Graphics.Gpu/Engine/MethodReport.cs') 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(MethodOffset.ReportState); _context.MemoryAccessor.Write(state.Address.Pack(), state.Payload); @@ -78,7 +78,7 @@ namespace Ryujinx.Graphics.Gpu.Engine Span data = MemoryMarshal.Cast(counterDataSpan); - ReportState state = _context.State.GetReportState(); + var state = _context.State.Get(MethodOffset.ReportState); _context.MemoryAccessor.Write(state.Address.Pack(), data); } -- cgit v1.2.3