diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-02-17 22:53:18 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-18 02:53:18 +0100 |
commit | 92d166ecb7e5b29a27bffd77754d8e592435ee6b (patch) | |
tree | 0c3d078c1487d6d596ed45deacca29c7d2d7d300 /Ryujinx.Cpu/CpuContext.cs | |
parent | 72e543e946610dc80e3d52290e4bea837097a070 (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.cs | 5 |
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); + } } } |