Update Translator.cs

This commit is contained in:
LDj3SNuD 2019-09-15 02:58:39 +02:00 committed by GitHub
parent 02cd5d3e70
commit ab87872574
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,10 @@ namespace ARMeilleure.Translation
_funcs = new Dictionary<ulong, TranslatedFunction>();
_funcsHighCq = new ConcurrentDictionary<ulong, TranslatedFunction>();
Aot.FullTranslate(_funcsHighCq, memory.PageTable);
if (Aot.Enabled)
{
Aot.FullTranslate(_funcsHighCq, memory.PageTable);
}
_backgroundQueue = new ConcurrentQueue<ulong>();