port: on-screen messages include all rows of the message

This commit is contained in:
fgsfds committed 2023-12-26 16:55:39 +01:00
1 parent 2134571b9a
commit 8c2b15d649
1 file changed
+5 -1
+5 -1
View File
@@ -93,7 +93,11 @@ void conPrint(s32 showmsg, const char *str)
}
if (showmsg) {
if (conMsgRows < CON_MSGROWS) {
++conMsgRows;
if (conPrintRow > oldRow) {
conMsgRows += conPrintRow - oldRow;
} else {
conMsgRows += conPrintRow + (CON_ROWS - oldRow);
}
}
conMsgTimer = sysGetSeconds() + CON_MSGTIMER;
}