~ubuntu-branches/debian/sid/mame/sid

« back to all changes in this revision

Viewing changes to src/mame/video/segaic16.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Emmanuel Kasper, Jordi Mallach
  • Date: 2012-06-05 20:02:23 UTC
  • mfrom: (0.3.1) (0.1.4)
  • Revision ID: package-import@ubuntu.com-20120605200223-gnlpogjrg6oqe9md
Tags: 0.146-1
[ Emmanuel Kasper ]
* New upstream release
* Drop patch to fix man pages section and patches to link with flac 
  and jpeg system lib: all this has been pushed upstream by Cesare Falco
* Add DM-Upload-Allowed: yes field.

[ Jordi Mallach ]
* Create a "gnu" TARGETOS stanza that defines NO_AFFINITY_NP.
* Stop setting TARGETOS to "unix" in d/rules. It should be autodetected,
  and set to the appropriate value.
* mame_manpage_section.patch: Change mame's manpage section to 6 (games),
  in the TH declaration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1412
1412
static void segaic16_road_hangon_decode(running_machine &machine, struct road_info *info)
1413
1413
{
1414
1414
        int x, y;
1415
 
        const UINT8 *gfx = machine.region("gfx3")->base();
1416
 
        int len = machine.region("gfx3")->bytes();
 
1415
        const UINT8 *gfx = machine.root_device().memregion("gfx3")->base();
 
1416
        int len = machine.root_device().memregion("gfx3")->bytes();
1417
1417
 
1418
1418
        /* allocate memory for the unpacked road data */
1419
1419
        info->gfx = auto_alloc_array(machine, UINT8, 256 * 512);
1673
1673
static void segaic16_road_outrun_decode(running_machine &machine, struct road_info *info)
1674
1674
{
1675
1675
        int x, y;
1676
 
        const UINT8 *gfx = machine.region("gfx3")->base();
1677
 
        int len = machine.region("gfx3")->bytes();
 
1676
        const UINT8 *gfx = machine.root_device().memregion("gfx3")->base();
 
1677
        int len = machine.root_device().memregion("gfx3")->bytes();
1678
1678
 
1679
1679
        /* allocate memory for the unpacked road data */
1680
1680
        info->gfx = auto_alloc_array(machine, UINT8, (256 * 2 + 1) * 512);