diff options
Diffstat (limited to 'ARMeilleure/Translation/Translator.cs')
| -rw-r--r-- | ARMeilleure/Translation/Translator.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ARMeilleure/Translation/Translator.cs b/ARMeilleure/Translation/Translator.cs index ffcd551c..d78f5e21 100644 --- a/ARMeilleure/Translation/Translator.cs +++ b/ARMeilleure/Translation/Translator.cs @@ -31,10 +31,11 @@ namespace ARMeilleure.Translation private readonly ReaderWriterLock _backgroundTranslatorLock; private JumpTable _jumpTable; + internal JumpTable JumpTable => _jumpTable; private volatile int _threadCount; - // FIXME: Remove this once the init logic of the emulator will be redone + // FIXME: Remove this once the init logic of the emulator will be redone. public static ManualResetEvent IsReadyForTranslation = new ManualResetEvent(false); public Translator(IJitMemoryAllocator allocator, IMemoryManager memory) @@ -100,7 +101,7 @@ namespace ARMeilleure.Translation if (Ptc.State == PtcState.Enabled) { - Ptc.LoadTranslations(_funcs, _memory.PageTablePointer, _jumpTable); + Ptc.LoadTranslations(_funcs, _memory, _jumpTable); Ptc.MakeAndSaveTranslations(_funcs, _memory, _jumpTable); } |
