avcodec/cdgraphics: unbreak rendering of vertical scrolling
This commit is contained in:
parent
68457c1e85
commit
1c49d74fad
@ -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
|
/// find the difference and save the offset for cdg_tile_block usage
|
||||||
hinc = h_off - cc->hscroll;
|
hinc = h_off - cc->hscroll;
|
||||||
vinc = v_off - cc->vscroll;
|
vinc = cc->vscroll - v_off;
|
||||||
cc->hscroll = h_off;
|
cc->hscroll = h_off;
|
||||||
cc->vscroll = v_off;
|
cc->vscroll = v_off;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user