mirror of
https://github.com/dwsJason/xrick2gs.git
synced 2025-08-15 14:27:19 +00:00
scroller.c: fix issue in the scrolldown that caused top line to repeat
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user