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

« back to all changes in this revision

Viewing changes to src/mame/video/asterix.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:
13
13
        state->m_spritebanks[3] = (state->m_spritebank <<  3) & 0x7000;
14
14
}
15
15
 
16
 
WRITE16_HANDLER( asterix_spritebank_w )
 
16
WRITE16_MEMBER(asterix_state::asterix_spritebank_w)
17
17
{
18
 
        asterix_state *state = space->machine().driver_data<asterix_state>();
19
 
        COMBINE_DATA(&state->m_spritebank);
20
 
        reset_spritebank(space->machine());
 
18
        COMBINE_DATA(&m_spritebank);
 
19
        reset_spritebank(machine());
21
20
}
22
21
 
23
22
void asterix_sprite_callback( running_machine &machine, int *code, int *color, int *priority_mask )