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

« back to all changes in this revision

Viewing changes to src/mame/video/gotya.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:
90
90
        if (flip_screen_get(space->machine) != (data & 0x02))
91
91
        {
92
92
                flip_screen_set(space->machine, data & 0x02);
93
 
                tilemap_mark_all_tiles_dirty(ALL_TILEMAPS);
 
93
                tilemap_mark_all_tiles_dirty_all(space->machine);
94
94
        }
95
95
}
96
96
 
138
138
                        sy = 31 - row;
139
139
                }
140
140
 
141
 
                drawgfx(bitmap,machine->gfx[0],
 
141
                drawgfx_opaque(bitmap,cliprect,
 
142
                        machine->gfx[0],
142
143
                        gotya_videoram2[row * 32 + col],
143
144
                        gotya_videoram2[row * 32 + col + 0x10] & 0x0f,
144
145
                        flip_screen_x_get(machine), flip_screen_y_get(machine),
145
 
                        8 * sx, 8 * sy,
146
 
                        cliprect,
147
 
                        TRANSPARENCY_NONE, 0);
 
146
                        8 * sx, 8 * sy);
148
147
        }
149
148
}
150
149
 
164
163
                        sy = 240 - sy;
165
164
                }
166
165
 
167
 
                drawgfx(bitmap,machine->gfx[1],
 
166
                drawgfx_transpen(bitmap,cliprect,
 
167
                        machine->gfx[1],
168
168
                        code, color,
169
169
                        flip_screen_x_get(machine), flip_screen_y_get(machine),
170
 
                        sx, sy,
171
 
                        cliprect,
172
 
                        TRANSPARENCY_PEN, 0);
 
170
                        sx, sy, 0);
173
171
        }
174
172
}
175
173