CSPspEmu.Core.Cpu.VFpu.VfpuRegisterInfo.FromVfpuRegisterInt C# (CSharp) Method

FromVfpuRegisterInt() public static method

public static FromVfpuRegisterInt ( VfpuRegisterType Type, int Size, VfpuRegisterInt Register ) : VfpuRegisterInfo
Type VfpuRegisterType
Size int
Register VfpuRegisterInt
return VfpuRegisterInfo
        public static VfpuRegisterInfo FromVfpuRegisterInt(VfpuRegisterType Type, int Size, VfpuRegisterInt Register)
        {
            if (Type == VfpuRegisterType.Vector && Size == 1) Type = VfpuRegisterType.Cell;
            return Parse(Size, VfpuConstants.GetRegisterNameByIndex(Type, Size, Register.Value));
            throw (new NotImplementedException("FromVfpuRegisterInt"));
        }

Usage Example

Example #1
0
 public static int[] GetIndicesVector(int size, VfpuRegisterInt register) =>
 GetIndicesVector(VfpuRegisterInfo.FromVfpuRegisterInt(VfpuRegisterType.Vector, size, register));
All Usage Examples Of CSPspEmu.Core.Cpu.VFpu.VfpuRegisterInfo::FromVfpuRegisterInt