Add missing count increment on IsRegionModified

This commit is contained in:
gdkchan 2018-08-14 22:15:31 -03:00
parent 0508e5c1fe
commit 7685062655
2 changed files with 2 additions and 1 deletions

View file

@ -583,6 +583,8 @@ namespace ChocolArm64.Memory
if (ObservedPages.TryAdd(Position >> PTPageBits, (IntPtr)Ptr))
{
Modified[Page] = true;
Count++;
}
else
{

View file

@ -1,7 +1,6 @@
using ChocolArm64.Memory;
using Ryujinx.Graphics.Gal;
using System;
using System.Collections.Concurrent;
namespace Ryujinx.HLE.Gpu.Memory
{