| 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 |
| r4586 | r4587 | |
|---|---|---|
| 431 | 431 | UINT16 height = crt.vertical_displayed*(crt.scan_lines+1)-1; // height in pixels |
| 432 | 432 | UINT16 bytes = crt.horizontal_displayed*crt.vertical_displayed-1; // video ram needed |
| 433 | 433 | |
| 434 | if (width > | |
| 434 | if (width > 639) width=639; | |
| 435 | 435 | if (height > 271) height=271; |
| 436 | 436 | |
| 437 | 437 | /* Resize the screen */ |
| r4586 | r4587 | |
|---|---|---|
| 508 | 508 | MDRV_SCREEN_REFRESH_RATE(50) |
| 509 | 509 | MDRV_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(250)) /* not accurate */ |
| 510 | 510 | 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) | |
| 513 | 513 | MDRV_PALETTE_LENGTH(96) |
| 514 | 514 | MDRV_PALETTE_INIT(mbeeic) |
| 515 | 515 |
| Previous | 15994 Revisions | Next |