mirror of
https://github.com/holub/mame
synced 2025-10-06 17:08:28 +03:00
franticf appears to want this to wraparound (nw)
if anybody knows the TMS32010 better it would help if they looked at the wheel input (should be a steering wheel + single button) because I can't see how it maps, the other input port isn't read. Maybe it generates an interrupt per tick or something? page flip implementation also still seems wrong for this game.
This commit is contained in:
parent
2668bde341
commit
165f371e91
@ -134,12 +134,14 @@ void lethalj_state::do_blit()
|
||||
|
||||
/* loop over X coordinates */
|
||||
for (x = 0; x <= width; x++, sx++, dx++)
|
||||
if (dx >= 0 && dx < BLITTER_DEST_WIDTH)
|
||||
{
|
||||
int pix = source[sx % BLITTER_SOURCE_WIDTH];
|
||||
if (pix)
|
||||
dest[dx] = pix;
|
||||
}
|
||||
{
|
||||
dx &= BLITTER_DEST_WIDTH -1 ;
|
||||
|
||||
int pix = source[sx % BLITTER_SOURCE_WIDTH];
|
||||
if (pix)
|
||||
dest[dx] = pix;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user