diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-02-25 22:14:58 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-02-25 22:14:58 -0300 |
| commit | 950011c90fe28fe9edd8ebe0d0a771f6adcff7a1 (patch) | |
| tree | 407416f5ee2a157d06ce2fa267671b7e2d1e0946 /ChocolArm64/AThread.cs | |
| parent | e174100474fcfe484cc8e93c4db447886096615d (diff) | |
Added initial support for function names from symbol table on the cpu with tracing, fix wrong ImageEnd on executables with MOD0, fix issue on the CPU on input elimination for instruction with more than one register store
Diffstat (limited to 'ChocolArm64/AThread.cs')
| -rw-r--r-- | ChocolArm64/AThread.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ChocolArm64/AThread.cs b/ChocolArm64/AThread.cs index 5c032289..6e018db6 100644 --- a/ChocolArm64/AThread.cs +++ b/ChocolArm64/AThread.cs @@ -28,14 +28,14 @@ namespace ChocolArm64 private object ExecuteLock; - public AThread(AMemory Memory, ThreadPriority Priority, long EntryPoint) + public AThread(ATranslator Translator, AMemory Memory, ThreadPriority Priority, long EntryPoint) { + this.Translator = Translator; this.Memory = Memory; this.Priority = Priority; this.EntryPoint = EntryPoint; ThreadState = new AThreadState(); - Translator = new ATranslator(this); ExecuteLock = new object(); } @@ -55,7 +55,7 @@ namespace ChocolArm64 Work = new Thread(delegate() { - Translator.ExecuteSubroutine(EntryPoint); + Translator.ExecuteSubroutine(this, EntryPoint); Memory.RemoveMonitor(ThreadId); |
