| Previous | 199869 Revisions | Next |
| r41812 Saturday 21st November, 2015 at 17:51:31 UTC by Luca Elia |
|---|
| vrender0: allow resolutions higher than 512x240 [Luca Elia] |
| [src/mame/drivers] | crystal.cpp |
| [src/mame/video] | vrender0.cpp |
| r250323 | r250324 | |
|---|---|---|
| 703 | 703 | SetVidReg(space, 0x8e, GetVidReg(space, 0x8e) ^ 1); |
| 704 | 704 | |
| 705 | 705 | srcline = (UINT16 *) Visible; |
| 706 | for (y = 0; y < 240; y++) | |
| 707 | memcpy(&bitmap.pix16(y), &srcline[y * 512], width * 2); | |
| 706 | for (y = 0; y < screen.height(); y++) | |
| 707 | memcpy(&bitmap.pix16(y), &srcline[y * 1024], width * 2); | |
| 708 | 708 | |
| 709 | 709 | return 0; |
| 710 | 710 | } |
| r250323 | r250324 | |
|---|---|---|
| 296 | 296 | else if (bpp == 8)\ |
| 297 | 297 | {\ |
| 298 | 298 | UINT8 Texel = Quad->u.Imageb[Offset];\ |
| 299 | Texel = Quad->u.Imageb[Offset];\ | |
| 300 | 299 | Color = Quad->Pal[Texel];\ |
| 301 | 300 | }\ |
| 302 | 301 | else if (bpp == 16)\ |
| r250323 | r250324 | |
| 485 | 484 | { |
| 486 | 485 | QuadInfo Quad; |
| 487 | 486 | |
| 488 | Quad.Pitch = | |
| 487 | Quad.Pitch = 1024; | |
| 489 | 488 | |
| 490 | 489 | // assert(Endx >= Dx && Endy >= Dy); |
| 491 | 490 |
| https://github.com/mamedev/mame/commit/5ccd8d8f49a793082dccb3622e8ec4371e9a2051 |
| Previous | 199869 Revisions | Next |