mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-03 00:02:26 -07:00
Add PPTC support
This commit is contained in:
@@ -35,9 +35,9 @@ namespace ARMeilleure.IntermediateRepresentation
|
||||
return Operand().With(value);
|
||||
}
|
||||
|
||||
public static unsafe Operand Const<T>(ref T reference)
|
||||
public static unsafe Operand Const<T>(ref T reference, int? index = null)
|
||||
{
|
||||
return Operand().With((ulong)Unsafe.AsPointer(ref reference));
|
||||
return Operand().With((long)Unsafe.AsPointer(ref reference), index != null, index);
|
||||
}
|
||||
|
||||
public static Operand ConstF(float value)
|
||||
|
Reference in New Issue
Block a user