avcodec/cdgraphics: unbreak rendering of vertical scrolling

pull/379/head
Paul B Mahol 3 years ago
parent 68457c1e85
commit 1c49d74fad
  1. 2
      libavcodec/cdgraphics.c

@ -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;

Loading…
Cancel
Save