mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-30 14:03:02 +00:00
16 lines
515 B
C#
16 lines
515 B
C#
|
using Ryujinx.Graphics.Shader.Instructions;
|
|||
|
|
|||
|
namespace Ryujinx.Graphics.Shader.Decoders
|
|||
|
{
|
|||
|
class OpCodeConditional : OpCode
|
|||
|
{
|
|||
|
public Condition Condition { get; }
|
|||
|
|
|||
|
public new static OpCode Create(InstEmitter emitter, ulong address, long opCode) => new OpCodeExit(emitter, address, opCode);
|
|||
|
|
|||
|
public OpCodeConditional(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
|
|||
|
{
|
|||
|
Condition = (Condition)opCode.Extract(0, 5);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|