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

« back to all changes in this revision

Viewing changes to src/mame/video/suna16.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:
190
190
                                        tile_flipy = !tile_flipy;
191
191
                                }
192
192
 
193
 
                                drawgfx(        bitmap, machine->gfx[gfx],
 
193
                                drawgfx_transpen(       bitmap, cliprect,machine->gfx[gfx],
194
194
                                                        (tile & 0x3fff) + bank*0x4000,
195
195
                                                        attr + (color_bank << 4),
196
196
                                                        tile_flipx, tile_flipy,
197
 
                                                        sx, sy,
198
 
                                                        cliprect,TRANSPARENCY_PEN,15    );
 
197
                                                        sx, sy,15       );
199
198
 
200
199
                                tile_x += tile_xinc;
201
200
                        }
229
228
        int layers_ctrl = -1;
230
229
 
231
230
#ifdef MAME_DEBUG
232
 
if (input_code_pressed(KEYCODE_Z))
 
231
if (input_code_pressed(screen->machine, KEYCODE_Z))
233
232
{       int msk = 0;
234
 
        if (input_code_pressed(KEYCODE_Q))      msk |= 1;
235
 
        if (input_code_pressed(KEYCODE_W))      msk |= 2;
 
233
        if (input_code_pressed(screen->machine, KEYCODE_Q))     msk |= 1;
 
234
        if (input_code_pressed(screen->machine, KEYCODE_W))     msk |= 2;
236
235
        if (msk != 0) layers_ctrl &= msk;
237
236
}
238
237
#endif