mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-05 04:57:55 +01:00
19 lines
332 B
C#
19 lines
332 B
C#
|
using System.Reflection.Emit;
|
||
|
|
||
|
namespace ChocolArm64.Translation
|
||
|
{
|
||
|
struct ILOpCode : IILEmit
|
||
|
{
|
||
|
private OpCode _ilOp;
|
||
|
|
||
|
public ILOpCode(OpCode ilOp)
|
||
|
{
|
||
|
_ilOp = ilOp;
|
||
|
}
|
||
|
|
||
|
public void Emit(ILEmitter context)
|
||
|
{
|
||
|
context.Generator.Emit(_ilOp);
|
||
|
}
|
||
|
}
|
||
|
}
|