diff --git a/ARMeilleure/Common/Counter.cs b/ARMeilleure/Common/Counter.cs index 1ceba17628..785722e836 100644 --- a/ARMeilleure/Common/Counter.cs +++ b/ARMeilleure/Common/Counter.cs @@ -40,7 +40,7 @@ namespace ARMeilleure.Common /// Gets a reference to the value of the counter. /// /// instance was disposed - public ref T Value + public ref T Value { get { @@ -49,7 +49,7 @@ namespace ARMeilleure.Common throw new ObjectDisposedException(null); } - return ref _countTable.GetValue(_index); + return ref _countTable.GetValue(_index); } } diff --git a/ARMeilleure/Instructions/InstEmitFlowHelper.cs b/ARMeilleure/Instructions/InstEmitFlowHelper.cs index a0ed5dd4c1..f995ffa1f1 100644 --- a/ARMeilleure/Instructions/InstEmitFlowHelper.cs +++ b/ARMeilleure/Instructions/InstEmitFlowHelper.cs @@ -218,8 +218,7 @@ namespace ARMeilleure.Instructions { context.StoreToContext(); - Operand fallbackAddr = context.Call( - typeof(NativeInterface).GetMethod(nameof(NativeInterface.GetFunctionAddress)), address); + Operand fallbackAddr = context.Call(typeof(NativeInterface).GetMethod(nameof(NativeInterface.GetFunctionAddress)), address); EmitNativeCall(context, fallbackAddr, isJump: true); }