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 633f118 commit e1bcfd2Copy full SHA for e1bcfd2
libogc/console.c
@@ -491,10 +491,10 @@ static inline void consolePosition(int x, int y) {
491
y = 1;
492
493
// clip to console edge
494
- if(x > currentConsole->con_cols)
495
- x = currentConsole->con_cols;
496
- if(y > currentConsole->con_rows)
497
- y = currentConsole->con_rows;
+ if(x > currentConsole->windowWidth)
+ x = currentConsole->windowWidth;
+ if(y > currentConsole->windowHeight)
+ y = currentConsole->windowHeight;
498
499
currentConsole->cursorX = x;
500
currentConsole->cursorY = y;
0 commit comments