diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-02-24 11:19:28 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-02-24 11:19:28 -0300 |
| commit | 035efc913e7f2a68315d4206cef46672005b8442 (patch) | |
| tree | eeb130850da914eb18e50ab5106db801b2eb4b14 /ChocolArm64/ATranslator.cs | |
| parent | 3936c934482a587635bc5a1e47962551aeb53aeb (diff) | |
Fix cpu issue with cmp optimization, add HINT and FRINTX (scalar) instructions, fix for NvFlinger sometimes missing free buffers
Diffstat (limited to 'ChocolArm64/ATranslator.cs')
| -rw-r--r-- | ChocolArm64/ATranslator.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ChocolArm64/ATranslator.cs b/ChocolArm64/ATranslator.cs index 96bbc89e..04cef44f 100644 --- a/ChocolArm64/ATranslator.cs +++ b/ChocolArm64/ATranslator.cs @@ -6,7 +6,7 @@ using System.Reflection.Emit; namespace ChocolArm64 { - class ATranslator + public class ATranslator { public AThread Thread { get; private set; } @@ -41,7 +41,7 @@ namespace ChocolArm64 while (Position != 0 && KeepRunning); } - public bool TryGetCachedSub(AOpCode OpCode, out ATranslatedSub Sub) + internal bool TryGetCachedSub(AOpCode OpCode, out ATranslatedSub Sub) { if (OpCode.Emitter != AInstEmit.Bl) { @@ -53,7 +53,7 @@ namespace ChocolArm64 return TryGetCachedSub(((AOpCodeBImmAl)OpCode).Imm, out Sub); } - public bool TryGetCachedSub(long Position, out ATranslatedSub Sub) + internal bool TryGetCachedSub(long Position, out ATranslatedSub Sub) { return CachedSubs.TryGetValue(Position, out Sub); } |
