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

trunk/src/mame/video/psikyosh.c
r21847r21848
333333   if(tilebank != last_bank[sy])
334334   {
335335      rectangle cliprect;
336      int minsy = sy * 16;
337      int maxsy = minsy + 16 - 1;
336338
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();
338341
339342      m_bg_bitmap.fill(BG_TRANSPEN, cliprect);
340343      int width = size * 16;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team