DaveTCode / GBADotnet

A C#/net core GBA emulator
MIT License
20 stars 1 forks source link

Pokemon pinball gets alpha blending wrong on machine select screen #49

Closed DaveTCode closed 2 years ago

DaveTCode commented 2 years ago

image

This should be alpha blending BG 1 & 2 I think (although second target of 1 & 2 are both enabled so not quite sure what that means)

DaveTCode commented 2 years ago

BLDALPHA has first and second targets both getting 8 as their factor (i.e. it's 0x0808) - I've checked that it's set correctly in my emulator

DaveTCode commented 2 years ago

In fact, it turns out that there are sprites overlapping the unused table in the screenshot. They're used in "transparent" mode which should force them to be the first blend target instead of the second as I'm using them.

So actually this is just a good test of a feature I haven't implemented yet (#28 - transparent sprites)