Previous 199869 Revisions Next

r21498 Friday 1st March, 2013 at 01:10:04 UTC by Angelo Salese
Fixed X/Y offsets
[src/mame/drivers]gunpey.c

trunk/src/mame/drivers/gunpey.c
r21497r21498
243243   {
244244      if(!(m_wram[count+0] & 1))
245245      {
246         x = (m_wram[count+3] >> 8) | ((m_wram[count+4] & 0xff) << 8);
247         y = m_wram[count+4] >> 8;
246         x = (m_wram[count+3] >> 8) | ((m_wram[count+4] & 0x03) << 8);
247         y = (m_wram[count+4] >> 8) | ((m_wram[count+4] & 0x30) << 4);
248248
249         x-=0x100;
250         y-=0x100;
251
249252         UINT32 col = 0xffffff;
250253
251254         UINT32 val = (m_wram[count+1] << 16) | ((m_wram[count+2]));
r21497r21498
303306#ifndef USE_FAKE_ROM
304307         letter = -1;
305308#endif
306         x-=0x1100;
307309
308310         if (letter != -1)
309311            drawgfx_opaque(bitmap,cliprect,machine().gfx[1],letter,1,0,0,x,y);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team