Add missing count increment on IsRegionModified
This commit is contained in:
parent
0508e5c1fe
commit
7685062655
2 changed files with 2 additions and 1 deletions
|
@ -583,6 +583,8 @@ namespace ChocolArm64.Memory
|
||||||
if (ObservedPages.TryAdd(Position >> PTPageBits, (IntPtr)Ptr))
|
if (ObservedPages.TryAdd(Position >> PTPageBits, (IntPtr)Ptr))
|
||||||
{
|
{
|
||||||
Modified[Page] = true;
|
Modified[Page] = true;
|
||||||
|
|
||||||
|
Count++;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
using ChocolArm64.Memory;
|
using ChocolArm64.Memory;
|
||||||
using Ryujinx.Graphics.Gal;
|
using Ryujinx.Graphics.Gal;
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Concurrent;
|
|
||||||
|
|
||||||
namespace Ryujinx.HLE.Gpu.Memory
|
namespace Ryujinx.HLE.Gpu.Memory
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue