mametesters bugfixes:

- 03047: [Graphics] elevator, elevatorb: Some graphics on the escalators shift when you ride on them (M.A.S.H., hap)
- 03628: [Graphics] alpine: Red point on the title screen  (M.A.S.H., hap)
This commit is contained in:
Michaël Banaan Ananas 2010-05-09 17:18:02 +00:00
parent b8597ec97c
commit 358a9035fd

View File

@ -272,7 +272,7 @@ INLINE int get_sprite_xy(UINT8 which, UINT8* sx, UINT8* sy)
{ {
offs_t offs = which * 4; offs_t offs = which * 4;
*sx = taitosj_spriteram[SPRITE_RAM_PAGE_OFFSET + offs + 0]; *sx = taitosj_spriteram[SPRITE_RAM_PAGE_OFFSET + offs + 0] - 1;
*sy = 240 - taitosj_spriteram[SPRITE_RAM_PAGE_OFFSET + offs + 1]; *sy = 240 - taitosj_spriteram[SPRITE_RAM_PAGE_OFFSET + offs + 1];
return (*sy < 240); return (*sy < 240);