mirror of
https://github.com/holub/mame
synced 2025-07-01 00:09:18 +03:00
seibuspi.cpp attempt to really fix linescroll (nw)
This commit is contained in:
parent
67216235e8
commit
54e498643d
@ -565,9 +565,7 @@ void seibuspi_state::combine_tilemap(bitmap_rgb32 &bitmap, const rectangle &clip
|
|||||||
{
|
{
|
||||||
int rx = sx;
|
int rx = sx;
|
||||||
if (rowscroll)
|
if (rowscroll)
|
||||||
{
|
rx += rowscroll[(y + 19) & yscroll_mask]; // adder value probably not hardcoded but came from CRTC
|
||||||
rx += rowscroll[(y + sy) & yscroll_mask];
|
|
||||||
}
|
|
||||||
|
|
||||||
u32 *dest = &bitmap.pix32(y);
|
u32 *dest = &bitmap.pix32(y);
|
||||||
const u16 *src = &pen_bitmap.pix16((y + sy) & yscroll_mask);
|
const u16 *src = &pen_bitmap.pix16((y + sy) & yscroll_mask);
|
||||||
|
Loading…
Reference in New Issue
Block a user