\r
currentConsole->cursorY ++;\r
\r
+\r
if(currentConsole->cursorY >= currentConsole->windowHeight) {\r
currentConsole->cursorY --;\r
u16 *dst = ¤tConsole->frameBuffer[(currentConsole->windowX * 8 * 240) + (239 - (currentConsole->windowY * 8))];\r
int i,j;\r
\r
for (i=0; i<currentConsole->windowWidth*8; i++) {\r
- u32 *from=(u32*)src;\r
- u32 *to = (u32*)dst;\r
- for (j=0; j<((currentConsole->windowHeight*8)-8)/2;j++) *(to--) = *(from--);\r
-\r
+ u16 *from = src;\r
+ u16 *to = dst;\r
+ for (j=0; j<((currentConsole->windowHeight*8));j++) *(to--) = *(from--);\r
dst += 240;\r
src += 240;\r
}\r