public void RegisterAccelerationMethod(string symbolName, AccelerationMethod method) { try { var symbol = GetSymbol(symbolName); if (symbol == null) { return; } RegisterAccelerationFunction(symbol.Address, method); } catch (SimCPUException e) { return; } }
public void RegisterAccelerationMethod(string symbolName, AccelerationMethod method) { try { var symbol = GetSymbol(symbolName); if (symbol == null) return; RegisterAccelerationFunction(symbol.Address, method); } catch (SimCPUException e) { return; } }
public void RegisterAccelerationFunction(ulong address, AccelerationMethod method) { AcceleratorAddresses.Add(address); AccelerationMethods.Add(address, method); }