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

CheckPrefixUsage() public method

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

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