aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Cpu/CpuContext.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-02-17 22:53:18 -0300
committerGitHub <noreply@github.com>2022-02-18 02:53:18 +0100
commit92d166ecb7e5b29a27bffd77754d8e592435ee6b (patch)
tree0c3d078c1487d6d596ed45deacca29c7d2d7d300 /Ryujinx.Cpu/CpuContext.cs
parent72e543e946610dc80e3d52290e4bea837097a070 (diff)
Enable CPU JIT cache invalidation (#2965)1.1.44
* Enable CPU JIT cache invalidation * Invalidate cache on IC IVAU
Diffstat (limited to 'Ryujinx.Cpu/CpuContext.cs')
-rw-r--r--Ryujinx.Cpu/CpuContext.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx.Cpu/CpuContext.cs b/Ryujinx.Cpu/CpuContext.cs
index 3e422546..9c09746b 100644
--- a/Ryujinx.Cpu/CpuContext.cs
+++ b/Ryujinx.Cpu/CpuContext.cs
@@ -28,5 +28,10 @@ namespace Ryujinx.Cpu
{
_translator.Execute(context, address);
}
+
+ public void InvalidateCacheRegion(ulong address, ulong size)
+ {
+ _translator.InvalidateJitCacheRegion(address, size);
+ }
}
}