mirror of
https://github.com/holub/mame
synced 2025-06-01 18:41:47 +03:00
(MESS-specific) snes: fixed a blending flag bug, fixes bg colors in Micro Machines.
======================================================================= Found in 2-27-16 of the snes book 1 manual.
This commit is contained in:
parent
902ad0ce83
commit
d3a133b89d
@ -162,10 +162,13 @@ static const struct SNES_MODE_CONFIG snes_modedefs[8] =
|
||||
*****************************************/
|
||||
INLINE void snes_draw_blend(UINT16 offset, UINT16 *colour, UINT8 mode, UINT8 clip )
|
||||
{
|
||||
if( clip == SNES_CLIP_ALL2) // blending mode 3 == always OFF
|
||||
return;
|
||||
|
||||
#ifdef SNES_DBG_video
|
||||
if( !debug_options.transparency_disabled )
|
||||
#endif /* SNES_DBG_video */
|
||||
if( (clip == SNES_CLIP_ALL || clip == SNES_CLIP_ALL2) ||
|
||||
if( (clip == SNES_CLIP_ALL) ||
|
||||
(clip == SNES_CLIP_IN && snes_ppu.clipmasks[5][offset]) ||
|
||||
(clip == SNES_CLIP_OUT && !snes_ppu.clipmasks[5][offset]) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user