diff --git a/src/SharpEmu.Libs/Gpu/GpuCommands/GpuCommandInterpreter.Memory.cs b/src/SharpEmu.Libs/Gpu/GpuCommands/GpuCommandInterpreter.Memory.cs index 6388ed0..1fec559 100644 --- a/src/SharpEmu.Libs/Gpu/GpuCommands/GpuCommandInterpreter.Memory.cs +++ b/src/SharpEmu.Libs/Gpu/GpuCommands/GpuCommandInterpreter.Memory.cs @@ -11,7 +11,6 @@ namespace SharpEmu.Libs.Gpu.GpuCommands; public sealed partial class GpuCommandInterpreter { private const uint DmaSkippedDestination = 0x3022C; - private const uint LodStatsWithoutCounters = 1; // Destination selectors 1, 2, 4 and 5 are memory; registers and GDS are not supported. internal void WriteData(ulong destination, ReadOnlySpan source, uint writeControl) @@ -375,12 +374,8 @@ public sealed partial class GpuCommandInterpreter if (destination != 0 && bufferSize != 0) { var report = new byte[bufferSize]; - var hasCounters = MipStatistics.Shared.TryWriteReport(report); + MipStatistics.Shared.WriteReport(report); WriteBytes(destination, report); - if (bufferSize >= sizeof(uint)) - { - WriteDword(destination, hasCounters ? MipStatistics.FirstCounterOffset : LodStatsWithoutCounters); - } } return 4;