~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/drivers/2mindril.c

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
                                        { \
72
72
                                                UINT16 data0=map[y*128+x*2]; \
73
73
                                                UINT16 data1=map[y*128+x*2+1]; \
74
 
                                                drawgfx(bitmap,screen->machine->gfx[0], data1, \
 
74
                                                drawgfx_transpen(bitmap,\
 
75
                                                        cliprect,screen->machine->gfx[0], data1, \
75
76
                                                        data0&0xff, \
76
77
                                                        data0&0x4000, data0&0x8000, \
77
 
                                                        x*16-512/*+(((INT16)(unkram[0x60000/2+num]))/32)*/, y*16/*+(((INT16)(unkram[0x60008/2+num]))/32)*/, \
78
 
                                                        cliprect,TRANSPARENCY_PEN,0); \
 
78
                                                        x*16-512/*+(((INT16)(unkram[0x60000/2+num]))/32)*/, y*16/*+(((INT16)(unkram[0x60008/2+num]))/32)*/,0); \
79
79
                                        }       \
80
80
                        }
81
81
 
94
94
                for(y=0;y<64;y++)
95
95
                        for(x=0;x<64;x++)
96
96
                        {
97
 
                                drawgfx(        bitmap,
 
97
                                drawgfx_transpen(       bitmap,
 
98
                                                cliprect,
98
99
                                                screen->machine->gfx[1],
99
100
                                                textram[y*64+x]&0xff, //1ff ??
100
101
                                                ((textram[y*64+x]>>9)&0xf),
101
102
                                                0, 0,
102
 
                                                x*8,y*8,
103
 
                                                cliprect,
104
 
                                                TRANSPARENCY_PEN,0);
 
103
                                                x*8,y*8,0);
105
104
                        }
106
105
        }
107
106
        //printf("%.4X %.4X %.4X %.4X %.4X %.4X\n", unkram[0x60000/2],unkram[0x60000/2+1],unkram[0x60000/2+2],unkram[0x60000/2+3],unkram[0x60000/2+4],unkram[0x60000/2+5]);