diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-02-24 18:47:08 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-02-24 18:47:08 -0300 |
| commit | 31b35a9645524ce25f4bcbcd5f0df8b9784e6b52 (patch) | |
| tree | fe523cb14748d5f2eb6c3417fcf36a0549089f65 /ChocolArm64/ATranslator.cs | |
| parent | c02a2b510f4f461c96e4a98e0059f35b5dde97c9 (diff) | |
Add FABD (scalar), ADCS, SBCS instructions, update config with better default control mappings, update readme with the new mappings
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 04cef44f..96bbc89e 100644 --- a/ChocolArm64/ATranslator.cs +++ b/ChocolArm64/ATranslator.cs @@ -6,7 +6,7 @@ using System.Reflection.Emit; namespace ChocolArm64 { - public class ATranslator + class ATranslator { public AThread Thread { get; private set; } @@ -41,7 +41,7 @@ namespace ChocolArm64 while (Position != 0 && KeepRunning); } - internal bool TryGetCachedSub(AOpCode OpCode, out ATranslatedSub Sub) + public 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); } - internal bool TryGetCachedSub(long Position, out ATranslatedSub Sub) + public bool TryGetCachedSub(long Position, out ATranslatedSub Sub) { return CachedSubs.TryGetValue(Position, out Sub); } |
