Skip to content

Commit 48fec92

Browse files
committed
Fix Amiga sprite left-clip negative X underwrite
1 parent 24aa8e7 commit 48fec92

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Source/Amiga/Graphics_Amiga.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ bool cGraphics_Amiga::Sprite_OnScreen_Check(bool p16bit) {
215215
}
216216

217217
mFodder->mVideo_Draw_FrameDataPtr += ax;
218+
219+
if (mFodder->mVideo_Draw_PosX < 0)
220+
return false;
218221
}
219222

220223
ax = mFodder->mVideo_Draw_PosX + drawColumns;

0 commit comments

Comments
 (0)