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

« back to all changes in this revision

Viewing changes to src/emu/tilemap.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:
1236
1236
        {
1237
1237
                UINT32 logical_col = logindex % tmap->cols;
1238
1238
                UINT32 logical_row = logindex / tmap->cols;
1239
 
                tilemap_memory_index memindex = (*tmap->mapper)(logical_col, logical_row, tmap->cols, tmap->rows);
 
1239
                memindex = (*tmap->mapper)(logical_col, logical_row, tmap->cols, tmap->rows);
1240
1240
                UINT32 flipped_logindex;
1241
1241
 
1242
1242
                /* apply tilemap flip to get the final location to store */