diff options
Diffstat (limited to 'src/ARMJIT_RegisterCache.h')
| -rw-r--r-- | src/ARMJIT_RegisterCache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ARMJIT_RegisterCache.h b/src/ARMJIT_RegisterCache.h index 1eb4c4b..e0c4a15 100644 --- a/src/ARMJIT_RegisterCache.h +++ b/src/ARMJIT_RegisterCache.h @@ -1,5 +1,5 @@ /* - Copyright 2016-2021 Arisotura, RSDuck + Copyright 2016-2022 melonDS team, RSDuck This file is part of melonDS. @@ -20,6 +20,7 @@ #define ARMJIT_REGCACHE_H #include "ARMJIT.h" +#include "ARMJIT_Internal.h" // TODO: replace this in the future #include "dolphin/BitSet.h" @@ -41,7 +42,7 @@ public: { for (int i = 0; i < 16; i++) Mapping[i] = (Reg)-1; - + PCAllocatableAsSrc = ~(pcAllocatableAsSrc ? 0 : (1 << 15)); |