Skip to content

Commit

Permalink
[core] ppu: Semi-transparent OBJs with no 2nd target should have norm…
Browse files Browse the repository at this point in the history
…al intensity.
  • Loading branch information
fleroviux committed May 16, 2020
1 parent 8b5aef0 commit c55fe50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/emulator/core/hw/ppu/compose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void PPU::ComposeScanline(int bg_min, int bg_max) {
bool have_dst = mmio.bldcnt.targets[0][layer[0]] || is_alpha_obj;
bool have_src = mmio.bldcnt.targets[1][layer[1]];

if (is_alpha_obj && have_src) {
if (is_alpha_obj) {
blend_mode = BlendMode::SFX_BLEND;
}

Expand Down

0 comments on commit c55fe50

Please sign in to comment.