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:
parent
b95b822e1a
commit
a8d4c8e78b
|
@ -15867,6 +15867,10 @@ void CombineBlender()
|
||||||
case 0x5000: /* Vigilante 8 explosions */
|
case 0x5000: /* Vigilante 8 explosions */
|
||||||
A_BLEND(GR_BLEND_ONE_MINUS_SRC_ALPHA, GR_BLEND_SRC_ALPHA);
|
A_BLEND(GR_BLEND_ONE_MINUS_SRC_ALPHA, GR_BLEND_SRC_ALPHA);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 0xFA00: // Bomberman second attack
|
||||||
|
A_BLEND(GR_BLEND_ONE, GR_BLEND_ZERO);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
A_BLEND(GR_BLEND_SRC_ALPHA, GR_BLEND_ONE_MINUS_SRC_ALPHA);
|
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 = ta_ext_d;
|
||||||
cmb.t1a_ext_d_invert = ta_ext_d_invert;
|
cmb.t1a_ext_d_invert = ta_ext_d_invert;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue