Disable BlueToAlpha mode when logic op is present. Re-enable for Outrun and DiRT.
This commit is contained in:
parent
0126bc181c
commit
f399e3c7e6
2 changed files with 12 additions and 1 deletions
|
@ -1676,7 +1676,7 @@ void GPUCommon::Execute_Prim(u32 op, u32 diff) {
|
|||
// See the documentation for gstate_c.blueToAlpha.
|
||||
bool blueToAlpha = false;
|
||||
if (PSP_CoreParameter().compat.flags().BlueToAlpha) {
|
||||
if (gstate_c.framebufFormat == GEBufferFormat::GE_FORMAT_565 && gstate.getColorMask() == 0x0FFFFF) {
|
||||
if (gstate_c.framebufFormat == GEBufferFormat::GE_FORMAT_565 && gstate.getColorMask() == 0x0FFFFF && !gstate.isLogicOpEnabled()) {
|
||||
blueToAlpha = true;
|
||||
gstate_c.framebufFormat = GEBufferFormat::GE_FORMAT_4444;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue