scroller.c: fix issue in the scrolldown that caused top line to repeat

This commit is contained in:
dwsJason 2018-11-25 19:31:49 -05:00
parent caf277f5a0
commit c8f6f247d8
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ scroll_down(void)
/* translate map */ /* translate map */
pDst = &map_map[MAP_ROW_SCRBOT][0]; pDst = &map_map[MAP_ROW_SCRBOT][0];
pSrc = pDst+32; pSrc = pDst-32;
for (i = MAP_ROW_SCRBOT; i > MAP_ROW_HTTOP; i--) for (i = MAP_ROW_SCRBOT; i > MAP_ROW_HTTOP; i--)
{ {
memcpy(pDst, pSrc, (size_t)32); memcpy(pDst, pSrc, (size_t)32);