Previous 15994 Revisions Next

r9403 Sunday 17th October, 2010 at 08:37:55 UTC by Robbbert
Fixed a couple of buffer overflows.
[src/mess/video]mbee.c super80.c

src/mess/video/mbee.c
r9402r9403
4343static running_device *mc6845;
4444static UINT8 speed,flash;
4545static UINT16 cursor;
46static UINT8 sy6545_reg[20];            /* registers */
46static UINT8 sy6545_reg[32];            /* registers */
4747static UINT8 sy6545_ind;            /* register index */
4848static const UINT8 sy6545_mask[32]={0xff,0xff,0xff,0x0f,0x7f,0x1f,0x7f,0x7f,3,0x1f,0x7f,0x1f,0x3f,0xff,0x3f,0xff,0,0,0x3f,0xff};
4949
src/mess/video/super80.c
r9402r9403
303303---------------------------------------------------------------*/
304304
305305static UINT8 mc6845_cursor[16];            // cursor shape
306static UINT8 mc6845_reg[20];            /* registers */
306static UINT8 mc6845_reg[32];            /* registers */
307307static UINT8 mc6845_ind;            /* register index */
308308static const UINT8 mc6845_mask[32]={0xff,0xff,0xff,0x0f,0x7f,0x1f,0x7f,0x7f,3,0x1f,0x7f,0x1f,0x3f,0xff,0x3f,0xff,0,0};
309309static running_device *mc6845;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team