Previous 15994 Revisions Next

r4587 Wednesday 29th April, 2009 at 11:31:50 UTC by Robbbert
[MBEE] Fixed width in mbeepc85 test screen.
[src/mess/drivers]mbee.c
[src/mess/video]mbee.c

src/mess/video/mbee.c
r4586r4587
431431   UINT16 height = crt.vertical_displayed*(crt.scan_lines+1)-1;               // height in pixels
432432   UINT16 bytes = crt.horizontal_displayed*crt.vertical_displayed-1;            // video ram needed
433433
434   if (width > 511) width=511;   
434   if (width > 639) width=639;   
435435   if (height > 271) height=271;
436436
437437   /* Resize the screen */
src/mess/drivers/mbee.c
r4586r4587
508508   MDRV_SCREEN_REFRESH_RATE(50)
509509   MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(250)) /* not accurate */
510510   MDRV_SCREEN_FORMAT(BITMAP_FORMAT_INDEXED16)
511   MDRV_SCREEN_SIZE(70*8, 310)
512   MDRV_SCREEN_VISIBLE_AREA(0, 70*8-1, 0, 19*16-1)
511   MDRV_SCREEN_SIZE(80*8, 310)
512   MDRV_SCREEN_VISIBLE_AREA(0, 80*8-1, 0, 19*16-1)
513513   MDRV_PALETTE_LENGTH(96)
514514   MDRV_PALETTE_INIT(mbeeic)
515515

Previous 15994 Revisions Next


© 1998-2018 The MESS Team