aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Shader/Decoders/OpCodeLopImm.cs
blob: a2f091a2c40c61b2af2edf1dba7ab9e760ea62a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using Ryujinx.Graphics.Shader.Instructions;

namespace Ryujinx.Graphics.Shader.Decoders
{
    class OpCodeLopImm : OpCodeLop, IOpCodeImm
    {
        public int Immediate { get; }

        public OpCodeLopImm(InstEmitter emitter, ulong address, long opCode) : base(emitter, address, opCode)
        {
            Immediate = DecoderHelper.DecodeS20Immediate(opCode);
        }
    }
}