Skip to content

Commit

Permalink
linescroll y-flipping flipp-off
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Dec 13, 2023
1 parent 6d93f16 commit d831a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/burn/tilemap_generic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ void GenericTilemapDraw(INT32 which, UINT16 *Bitmap, INT32 priority, INT32 prior

INT32 sy = y;
if (cur_map->flags & TMAP_FLIPY) {
sy = ((maxy - miny) - cur_map->theight) - sy;
sy = ((maxy - miny) - 1) - sy;
}

dest = Bitmap + sy * nScreenWidth;
Expand Down

0 comments on commit d831a9e

Please sign in to comment.