Previous 199869 Revisions Next

r21591 Tuesday 5th March, 2013 at 11:56:54 UTC by hap
(video fade btanb note)
[src/mame/video]namcos22.c

trunk/src/mame/video/namcos22.c
r21590r21591
2929 *        $1000-$19ff   - $00, huh!? (it's specifically cleared, memsetting czram at boot does not fix the issue)
3030 *        $1a00-$0dff   - $77
3131 *        $1e00-$1fff   - $78
32 * - using rgbint to set brightness may cause problems if a color channel is 00 (eg. victlapw attract)
33 *       (probably a bug in rgbint, not here?)
3432 *
3533 * - lots of smaller issues
3634 *
r21590r21591
20472045            if (fade_enabled)
20482046               rgbint_scale_channel_and_clamp(&rgb, &fade_color);
20492047
2048            // BTANB note: fading to white does not affect color channels set to 00,
2049            // eg. a rr-gg-bb of 3f-7f-00 will fade to ff-ff-00 and not ff-ff-ff
2050            // seen in victlapw attract mode
2051
20502052            dest[x] = rgbint_to_rgb(&rgb);
20512053         }
20522054      }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team