示例#1
0
        private void CommandSetOtherModeL(uint w0, uint w1)
        {
            /* SetOtherMode_L */
            if ((32 - ((w0 & 0x00FFFFFF) << 4 >> 4) - 1) == 3)
            {
                uint data = OtherModeL.Data;
                data      &= 0x00000007;
                data      |= (w1 & 0xCCCCFFFF | w1 & 0x3333FFFF);
                OtherModeL = new SimpleF3DEX2.OtherModeL(data);
                General.PerformModeChanges(this);

                if (Configuration.CombinerType == CombinerTypes.GLSLCombiner && glslCombiner != null)
                {
                    glslCombiner.BindCombiner(LastComb0, LastComb1, Configuration.RenderTextures);
                }
            }
        }
示例#2
0
        private void CommandSetOtherModeL(uint w0, uint w1)
        {
            /* SetOtherMode_L */
            if ((32 - ((w0 & 0x00FFFFFF) << 4 >> 4) - 1) == 3)
            {
                uint data = OtherModeL.Data;
                data &= 0x00000007;
                data |= (w1 & 0xCCCCFFFF | w1 & 0x3333FFFF);
                OtherModeL = new SimpleF3DEX2.OtherModeL(data);
                General.PerformModeChanges(this);

                if (Configuration.CombinerType == CombinerTypes.GLSLCombiner && glslCombiner != null) glslCombiner.BindCombiner(LastComb0, LastComb1, Configuration.RenderTextures);
            }
        }