From a8d4c8e78bc327059106c895c1ab20979f6cbaed Mon Sep 17 00:00:00 2001 From: AmbientMalice Date: Mon, 21 Mar 2016 11:33:31 +1000 Subject: [PATCH] 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. --- Source/Glide64/Combine.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/Glide64/Combine.cpp b/Source/Glide64/Combine.cpp index f0a81c61e..07e39d1c7 100644 --- a/Source/Glide64/Combine.cpp +++ b/Source/Glide64/Combine.cpp @@ -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; } -} \ No newline at end of file +}