mirror of
https://github.com/dwsJason/xrick2gs.git
synced 2025-01-04 20:31:21 +00:00
scroller.c: fix issue in the scrolldown that caused top line to repeat
This commit is contained in:
parent
caf277f5a0
commit
c8f6f247d8
@ -136,7 +136,7 @@ scroll_down(void)
|
||||
|
||||
/* translate map */
|
||||
pDst = &map_map[MAP_ROW_SCRBOT][0];
|
||||
pSrc = pDst+32;
|
||||
pSrc = pDst-32;
|
||||
for (i = MAP_ROW_SCRBOT; i > MAP_ROW_HTTOP; i--)
|
||||
{
|
||||
memcpy(pDst, pSrc, (size_t)32);
|
||||
|
Loading…
Reference in New Issue
Block a user