Port @Gonetz Bomberman 2 blend mode to Glide64.

I haven't tested this personally, since I can't load the save states because PJ64 has broken save state loading. But it should work. I personally want to see Glide64 replaced as soon as possible, but there's no harm porting such an obvious bug fix.
This commit is contained in:
AmbientMalice 2016-03-21 11:33:31 +10:00
parent b95b822e1a
commit a8d4c8e78b
1 changed files with 5 additions and 1 deletions

View File

@ -15867,6 +15867,10 @@ void CombineBlender()
case 0x5000: /* Vigilante 8 explosions */
A_BLEND(GR_BLEND_ONE_MINUS_SRC_ALPHA, GR_BLEND_SRC_ALPHA);
break;
case 0xFA00: // Bomberman second attack
A_BLEND(GR_BLEND_ONE, GR_BLEND_ZERO);
break;
default:
A_BLEND(GR_BLEND_SRC_ALPHA, GR_BLEND_ONE_MINUS_SRC_ALPHA);
@ -16659,4 +16663,4 @@ void TexAlphaCombinerToExtension(GrChipID_t tmu)
cmb.t1a_ext_d = ta_ext_d;
cmb.t1a_ext_d_invert = ta_ext_d_invert;
}
}
}