CSPspEmu.Core.Cpu.VFpu.VfpuConstants.GetRegisterIndexByName C# (CSharp) Метод

GetRegisterIndexByName() публичный статический Метод

public static GetRegisterIndexByName ( VfpuRegisterType Type, int Size, string Name ) : uint
Type VfpuRegisterType
Size int
Name string
Результат uint
        public static uint GetRegisterIndexByName(VfpuRegisterType Type, int Size, string Name)
        {
            // @TODO: Create a dictionary.
            var Names = GetRegisterNames(Type, Size);
            return (uint)Array.IndexOf(Names, Name);
        }