From 7685062655b0e31a3a54ae7bb59d03cce07902ca Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 14 Aug 2018 22:15:31 -0300 Subject: [PATCH] Add missing count increment on IsRegionModified --- ChocolArm64/Memory/AMemory.cs | 2 ++ Ryujinx.HLE/Gpu/Memory/NvGpuVmm.cs | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChocolArm64/Memory/AMemory.cs b/ChocolArm64/Memory/AMemory.cs index 676dae0b49..e5145fba13 100644 --- a/ChocolArm64/Memory/AMemory.cs +++ b/ChocolArm64/Memory/AMemory.cs @@ -583,6 +583,8 @@ namespace ChocolArm64.Memory if (ObservedPages.TryAdd(Position >> PTPageBits, (IntPtr)Ptr)) { Modified[Page] = true; + + Count++; } else { diff --git a/Ryujinx.HLE/Gpu/Memory/NvGpuVmm.cs b/Ryujinx.HLE/Gpu/Memory/NvGpuVmm.cs index 164068ec2e..e7e1806466 100644 --- a/Ryujinx.HLE/Gpu/Memory/NvGpuVmm.cs +++ b/Ryujinx.HLE/Gpu/Memory/NvGpuVmm.cs @@ -1,7 +1,6 @@ using ChocolArm64.Memory; using Ryujinx.Graphics.Gal; using System; -using System.Collections.Concurrent; namespace Ryujinx.HLE.Gpu.Memory {