| Previous | 199869 Revisions | Next |
| r21848 Thursday 14th March, 2013 at 08:32:55 UTC by David Haywood |
|---|
| fix daraku (mt 5122) guess some refactoring changed the behaviour at some point, I assume this is what it was meant to be doing rather than trying to use a value it was in the middle of setting? |
| [src/mame/video] | psikyosh.c |
| r21847 | r21848 | |
|---|---|---|
| 333 | 333 | if(tilebank != last_bank[sy]) |
| 334 | 334 | { |
| 335 | 335 | rectangle cliprect; |
| 336 | int minsy = sy * 16; | |
| 337 | int maxsy = minsy + 16 - 1; | |
| 336 | 338 | |
| 337 | cliprect.set(0, m_bg_bitmap.width() - 1, sy * 16, cliprect.min_y + 16 - 1); | |
| 339 | cliprect.set(0, m_bg_bitmap.width() - 1, minsy, maxsy ); | |
| 340 | cliprect &= m_bg_bitmap.cliprect(); | |
| 338 | 341 | |
| 339 | 342 | m_bg_bitmap.fill(BG_TRANSPEN, cliprect); |
| 340 | 343 | int width = size * 16; |
| Previous | 199869 Revisions | Next |