CSPspEmu.Core.Cpu.VFpu.VfpuPrefix.CheckPrefixUsage C# (CSharp) Method

CheckPrefixUsage() public method

public CheckPrefixUsage ( uint PC ) : void
PC uint
return void
        public void CheckPrefixUsage(uint PC)
        {
            // Disable the prefix once it have been used.
            if (this.Enabled)
            {
                if (this.UsedCount > 0 && this.UsedPC != PC)
                {
                    this.Enabled = false;
                    //Console.WriteLine("VfpuPrefix.Enabled = false | {0:X8} : {1:X8} | {2:X8}", Value, DeclaredPC, PC);
                }

                this.UsedPC = PC;
                this.UsedCount++;
            }
        }