mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
vrender0: allow resolutions higher than 512x240 [Luca Elia]
This commit is contained in:
parent
ac36563426
commit
5ccd8d8f49
@ -703,8 +703,8 @@ UINT32 crystal_state::screen_update_crystal(screen_device &screen, bitmap_ind16
|
||||
SetVidReg(space, 0x8e, GetVidReg(space, 0x8e) ^ 1);
|
||||
|
||||
srcline = (UINT16 *) Visible;
|
||||
for (y = 0; y < 240; y++)
|
||||
memcpy(&bitmap.pix16(y), &srcline[y * 512], width * 2);
|
||||
for (y = 0; y < screen.height(); y++)
|
||||
memcpy(&bitmap.pix16(y), &srcline[y * 1024], width * 2);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -296,7 +296,6 @@ TILENAME(bpp, t, a)\
|
||||
else if (bpp == 8)\
|
||||
{\
|
||||
UINT8 Texel = Quad->u.Imageb[Offset];\
|
||||
Texel = Quad->u.Imageb[Offset];\
|
||||
Color = Quad->Pal[Texel];\
|
||||
}\
|
||||
else if (bpp == 16)\
|
||||
@ -485,7 +484,7 @@ int vr0video_device::vrender0_ProcessPacket(UINT32 PacketPtr, UINT16 *Dest, UINT
|
||||
{
|
||||
QuadInfo Quad;
|
||||
|
||||
Quad.Pitch = 512;
|
||||
Quad.Pitch = 1024;
|
||||
|
||||
// assert(Endx >= Dx && Endy >= Dy);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user