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

« back to all changes in this revision

Viewing changes to src/mame/drivers/missb2.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:
44
44
        //popmessage("%02x",(*missb2_bgvram) & 0x1f);
45
45
        for(bg_offs = ((*missb2_bgvram) << 4);bg_offs<(((*missb2_bgvram)<< 4)|0xf);bg_offs++)
46
46
        {
47
 
                drawgfx(bitmap,screen->machine->gfx[1],
 
47
                drawgfx_opaque(bitmap,cliprect,screen->machine->gfx[1],
48
48
                                bg_offs,
49
49
                                1,
50
50
                                0,0,
51
 
                                0,(bg_offs & 0xf) * 0x10,
52
 
                                cliprect,TRANSPARENCY_NONE,0xff);
 
51
                                0,(bg_offs & 0xf) * 0x10);
53
52
        }
54
53
 
55
54
 
105
104
                                        flipy = !flipy;
106
105
                                }
107
106
 
108
 
                                drawgfx(bitmap,screen->machine->gfx[0],
 
107
                                drawgfx_transpen(bitmap,cliprect,screen->machine->gfx[0],
109
108
                                                code,
110
109
                                                0,
111
110
                                                flipx,flipy,
112
 
                                                x,y,
113
 
                                                cliprect,TRANSPARENCY_PEN,0xff);
 
111
                                                x,y,0xff);
114
112
                        }
115
113
                }
116
114
 
411
409
        ROM_REGION( 0x10000, "audiocpu", 0 ) /* 64k for the third CPU */
412
410
        ROM_LOAD( "msbub2-u.211", 0x0000, 0x08000, CRC(08e5d846) SHA1(8509a71df984f0348bdc6ab60eb2ba7ceb9b1246) )
413
411
 
414
 
        ROM_REGION( 0x100000, "gfx1", ROMREGION_DISPOSE | ROMREGION_INVERT )
 
412
        ROM_REGION( 0x100000, "gfx1", ROMREGION_INVERT )
415
413
        ROM_LOAD( "msbub2-u.14",  0x00000, 0x40000, CRC(b3164b47) SHA1(083a63010515b0aa43b482938ae302b2df985312) )
416
414
        ROM_LOAD( "msbub2-u.126", 0x40000, 0x40000, CRC(b0a9a353) SHA1(40d7f4c970d8571de319231c295fa0d2836efcf7) )
417
415
        ROM_LOAD( "msbub2-u.124", 0x80000, 0x40000, CRC(4b0d8e5b) SHA1(218da3edcfea228e6df1ac59bc24217713d79410) )
423
421
        ROM_LOAD16_BYTE( "msbub2-u.ic2", 0x000001, 0x80000, CRC(694c2783) SHA1(401dc8713a02130289f364786c38e70c4c4f9b2e) )
424
422
        ROM_LOAD16_BYTE( "msbub2-u.ic4", 0x000000, 0x80000, CRC(be71c9f0) SHA1(1961e931017f644486cea0ce431d50973679c848) )
425
423
 
426
 
        ROM_REGION( 0x20000, "oki", 0 ) /* samples */
 
424
        ROM_REGION( 0x40000, "oki", 0 ) /* samples */
427
425
        ROM_LOAD( "msbub2-u.13", 0x00000, 0x20000, BAD_DUMP CRC(14f07386) SHA1(097897d92226f900e11dbbdd853aff3ac46ff016) )
428
426
 
429
427
        /* I doubt this prom is on the board, it's loaded so we can share video emulation with bubble bobble */