mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-13 05:46:47 +00:00
Apply suggestions from code review
Address LDj3SNuD's feedback Co-authored-by: LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com>
This commit is contained in:
parent
9c0dbb9c07
commit
08d13355ee
2 changed files with 3 additions and 4 deletions
|
@ -40,7 +40,7 @@ namespace ARMeilleure.Common
|
|||
/// Gets a reference to the value of the counter.
|
||||
/// </summary>
|
||||
/// <exception cref="ObjectDisposedException"><see cref="Counter{T}"/> instance was disposed</exception>
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue