Previous 199869 Revisions Next

r20553 Sunday 27th January, 2013 at 20:31:32 UTC by Angelo Salese
VDP1 command list 3 is a mirror for distorted sprite, fixes Hardcore 4x4
[src/mame/video]stvvdp1.c

trunk/src/mame/video/stvvdp1.c
r20552r20553
19661966               break;
19671967
19681968            case 0x0002:
1969            case 0x0003:
19691970               if (VDP1_LOG) logerror ("Sprite List Distorted Sprite\n");
19701971               if (VDP1_LOG) logerror ("(A: %d %d)\n",stv2_current_sprite.CMDXA,stv2_current_sprite.CMDYA);
19711972               if (VDP1_LOG) logerror ("(B: %d %d)\n",stv2_current_sprite.CMDXB,stv2_current_sprite.CMDYB);
r20552r20553
19841985               break;
19851986
19861987            case 0x0005:
1988//            case 0x0007: // mirror?
19871989               if (VDP1_LOG) logerror ("Sprite List Polyline\n");
19881990               stv2_current_sprite.ispoly = 1;
19891991               stv_vdp1_draw_poly_line(machine, *cliprect);
r20552r20553
19961998               break;
19971999
19982000            case 0x0008:
2001//            case 0x000b: // mirror?
19992002               if (VDP1_LOG) logerror ("Sprite List Set Command for User Clipping (%d,%d),(%d,%d)\n", stv2_current_sprite.CMDXA, stv2_current_sprite.CMDYA, stv2_current_sprite.CMDXC, stv2_current_sprite.CMDYC);
20002003               state->m_vdp1.user_cliprect.set(stv2_current_sprite.CMDXA, stv2_current_sprite.CMDXC, stv2_current_sprite.CMDYA, stv2_current_sprite.CMDYC);
20012004               break;
r20552r20553
20122015               break;
20132016
20142017            default:
2015               popmessage ("VDP1: Sprite List Illegal, contact MAMEdev");
2018               popmessage ("VDP1: Sprite List Illegal %02x, contact MAMEdev",stv2_current_sprite.CMDCTRL & 0xf);
20162019               state->m_vdp1.lopr = (position * 0x20) >> 3;
20172020               state->m_vdp1.copr = (position * 0x20) >> 3;
20182021               return;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team