Previous 199869 Revisions Next

r21514 Friday 1st March, 2013 at 13:58:18 UTC by David Haywood
better video rendering
[src/mame/drivers]gunpey.c

trunk/src/mame/drivers/gunpey.c
r21513r21514
262262
263263         //UINT32 col = 0xffffff;
264264
265         UINT32 val = (m_wram[count+1] << 16) | ((m_wram[count+2]));
266
265   //      UINT32 val = (m_wram[count+1] << 16) | ((m_wram[count+2]));
266                                             
267267#ifdef USE_FAKE_ROM
268268         int letter = -1;
269269
r21513r21514
318318         if (val == 0xa080e03a) { letter = 'Z'; }
319319
320320#endif
321         int xsource = ((val & 0x000000ff) << 4) | ((val & 0xf0000000) >> 28);
322         int ysource = ((val & 0x0000f000) >> 10);
321         int xsource = ((m_wram[count+2] & 0x00ff) << 4) | ((m_wram[count+1] & 0xf000) >> 12);
322         int ysource = ((m_wram[count+2] & 0xf000) >> 12)| ((m_wram[count+3] & 0x00ff) << 4);
323323
324         //printf("%08x  %04x %04x\n", val, m_wram[count+1],m_wram[count+2] );
325
326   //   UINT16 xsource = (m_wram[count+2] & 0x00ff << 4) | (m_wram[count+1] & 0xf000 >> 12);
327//         UINT16 ysource =  (m_wram[count+2] & 0xff00 >>8) | (m_wram[count+3] & 0x000f <<8);
328
329         //xsource<<=1;
330
331
324332         xsource<<=1;
333         ysource <<=2;
325334
335
336
337
326338#ifdef USE_FAKE_ROM
327339         if (letter != -1)
328340            drawgfx_opaque(bitmap,cliprect,machine().gfx[1],letter,1,0,0,x,y);

Previous 199869 Revisions Next


© 1997-2024 The MAME Team