mirror of
https://github.com/holub/mame
synced 2025-05-20 20:58:51 +03:00
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:
parent
b8597ec97c
commit
358a9035fd
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user