Previous | 199869 Revisions | Next |
r25445 Friday 27th September, 2013 at 18:04:47 UTC by David Haywood |
---|
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. |
[src/mame/video] | lethalj.c |
r25444 | r25445 | |
---|---|---|
134 | 134 | |
135 | 135 | /* loop over X coordinates */ |
136 | 136 | for (x = 0; x <= width; x++, sx++, dx++) |
137 | if (dx >= 0 && dx < BLITTER_DEST_WIDTH) | |
138 | { | |
139 | int pix = source[sx % BLITTER_SOURCE_WIDTH]; | |
140 | if (pix) | |
141 | dest[dx] = pix; | |
142 | } | |
137 | { | |
138 | dx &= BLITTER_DEST_WIDTH -1 ; | |
139 | ||
140 | int pix = source[sx % BLITTER_SOURCE_WIDTH]; | |
141 | if (pix) | |
142 | dest[dx] = pix; | |
143 | ||
144 | } | |
143 | 145 | } |
144 | 146 | } |
145 | 147 | } |
Previous | 199869 Revisions | Next |