mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-01 00:47:11 +02:00
Armeilleure: Fix support for Windows on ARM64 (#5202)
* Armeilleure: Fix support for Windows on ARM64 Tested on Windows DevKit 2023. * Address gdkchan's comments
This commit is contained in:
parent
8a352df3c6
commit
52cf141874
2 changed files with 21 additions and 5 deletions
|
@ -47,8 +47,8 @@ namespace ARMeilleure.Translation.Cache
|
|||
|
||||
public JitCacheInvalidation(IJitMemoryAllocator allocator)
|
||||
{
|
||||
// On macOS, a different path is used to write to the JIT cache, which does the invalidation.
|
||||
if (!OperatingSystem.IsMacOS() && RuntimeInformation.ProcessArchitecture == Architecture.Arm64)
|
||||
// On macOS and Windows, a different path is used to write to the JIT cache, which does the invalidation.
|
||||
if (RuntimeInformation.ProcessArchitecture == Architecture.Arm64)
|
||||
{
|
||||
ulong size = (ulong)_invalidationCode.Length * sizeof(int);
|
||||
ulong mask = (ulong)ReservedRegion.DefaultGranularity - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue