We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf9df10 commit f8e014aCopy full SHA for f8e014a
graphics/deko3d/deko_console/source/gpu_console.c
@@ -443,8 +443,8 @@ static void GpuRenderer_scrollWindow(PrintConsole* con)
443
// Perform the scrolling
444
for (int y = 0; y < con->windowHeight-1; y ++) {
445
memcpy(
446
- &r->charBuf[(con->windowY+y+0)*con->consoleWidth + con->windowX],
447
- &r->charBuf[(con->windowY+y+1)*con->consoleWidth + con->windowX],
+ &r->charBuf[(con->windowY-1+y+0)*con->consoleWidth + con->windowX - 1],
+ &r->charBuf[(con->windowY-1+y+1)*con->consoleWidth + con->windowX - 1],
448
sizeof(ConsoleChar)*con->windowWidth);
449
}
450
0 commit comments