mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-07-01 11:00:47 -07:00
Add on translation call counting
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using ARMeilleure.Common;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace ARMeilleure.IntermediateRepresentation
|
||||
{
|
||||
@ -34,6 +35,11 @@ namespace ARMeilleure.IntermediateRepresentation
|
||||
return Operand().With(value);
|
||||
}
|
||||
|
||||
public static unsafe Operand Const<T>(ref T reference)
|
||||
{
|
||||
return Operand().With((ulong)Unsafe.AsPointer(ref reference));
|
||||
}
|
||||
|
||||
public static Operand ConstF(float value)
|
||||
{
|
||||
return Operand().With(value);
|
||||
|
Reference in New Issue
Block a user