Skip to content

Commit

Permalink
avcodec/cdgraphics: unbreak rendering of vertical scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpl committed Dec 18, 2021
1 parent 68457c1 commit 1c49d74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavcodec/cdgraphics.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ static void cdg_scroll(CDGraphicsContext *cc, uint8_t *data,

/// find the difference and save the offset for cdg_tile_block usage
hinc = h_off - cc->hscroll;
vinc = v_off - cc->vscroll;
vinc = cc->vscroll - v_off;
cc->hscroll = h_off;
cc->vscroll = v_off;

Expand Down

0 comments on commit 1c49d74

Please sign in to comment.