diff --git a/ARMeilleure/Translation/PTC/Ptc.cs b/ARMeilleure/Translation/PTC/Ptc.cs index ad2871d07..ba0b804b4 100644 --- a/ARMeilleure/Translation/PTC/Ptc.cs +++ b/ARMeilleure/Translation/PTC/Ptc.cs @@ -681,7 +681,10 @@ namespace ARMeilleure.Translation.PTC } else if (symbol == CountTableSymbol) { - callCounter = new Counter(translator.CountTable); + if (callCounter == null) + { + callCounter = new Counter(translator.CountTable); + } unsafe { imm = (IntPtr)Unsafe.AsPointer(ref callCounter.Value); } }