~ubuntu-branches/ubuntu/precise/mame/precise-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Cesare Falco
  • Date: 2011-11-30 18:50:10 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20111130185010-02hcxybht1mn082w
Tags: 0.144-0ubuntu1
* New upstream release (LP: #913550)
* mame.install:
  - Added artwork/ images to be used with -effect switch
  - Be more selective with hash/ contents
* contrib/mame.ini: added /usr/share/games/mame/artwork/ to artpath

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
        rectangle cliprect;
144
144
        int offset;
145
145
 
146
 
        state->m_current_frame ^= 0x01;
147
 
 
148
146
//  const rectangle *visarea = machine.primary_screen->visible_area();
149
147
//  cliprect.min_x = visarea->min_x;
150
148
//  cliprect.max_x = visarea->max_x;
157
155
        cliprect.max_y = 30 * 8 - 1;
158
156
 
159
157
 
160
 
        if (state->m_current_frame & 0x01)
 
158
        if (machine.primary_screen->frame_number() & 0x01)
161
159
        {
162
160
 
163
161
                /* copy the desired spritelist to the chip */