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

« back to all changes in this revision

Viewing changes to src/mame/video/kan_panb.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:
33
33
                x = dx;
34
34
                y = dy;
35
35
 
36
 
                if (flip_screen_get(screen.machine()))
 
36
                if (state->flip_screen())
37
37
                {
38
38
                        sx = 240 - x;
39
39
                        sy = 240 - y;
64
64
                x = dx;
65
65
                y = dy;
66
66
 
67
 
                if (flip_screen_get(screen.machine()))
 
67
                if (state->flip_screen())
68
68
                {
69
69
                        sx = 240 - x;
70
70
                        sy = 240 - y;
120
120
                x = dx;
121
121
                y = dy;
122
122
 
123
 
                if (flip_screen_get(screen.machine()))
 
123
                if (state->flip_screen())
124
124
                {
125
125
                        sx = 240 - x;
126
126
                        sy = 240 - y;
154
154
 
155
155
        bitmap.fill(get_black_pen(screen.machine()), cliprect);
156
156
 
157
 
        for (offs = 0;offs < state->m_spriteram_size/2;offs += 8)
 
157
        for (offs = 0;offs < state->m_bootleg_spriteram16.bytes()/2;offs += 8)
158
158
        {
159
159
                int xpos  = spriteram16[offs] & 0xff;
160
160
                int ypos  = spriteram16[offs+4] & 0xff;
169
169
 
170
170
                if (wrapr == 8) xpos -= 256;
171
171
 
172
 
                if (flip_screen_get(screen.machine()))
 
172
                if (state->flip_screen())
173
173
                {
174
174
                        xpos = 240 - xpos;
175
175
                        ypos = 240 - ypos;
222
222
 
223
223
        bitmap.fill(get_black_pen(screen.machine()), cliprect);
224
224
 
225
 
        for (offs = 0;offs < state->m_spriteram_size/2;offs += 8)
 
225
        for (offs = 0;offs < state->m_bootleg_spriteram16.bytes()/2;offs += 8)
226
226
        {
227
227
                gfx_element *gfx = screen.machine().gfx[0];
228
228
                int dx = spriteram16[offs+4] & 0xff;
249
249
                if (x > 511) x &= 0x1ff;
250
250
                if (y > 511) y &= 0x1ff;
251
251
 
252
 
                if (flip_screen_get(screen.machine()))
 
252
                if (state->flip_screen())
253
253
                {
254
254
                        sx = 240 - x;
255
255
                        sy = 240 - y;